pub struct PostBundleFeedbackKey(pub [u8; 65]);Tuple Fields§
§0: [u8; 65]Implementations§
Source§impl PostBundleFeedbackKey
impl PostBundleFeedbackKey
pub fn new(location_id: &Id, post_id: &Id, feedback_type: u8) -> Self
pub fn from_slice(bytes: &[u8]) -> Result<Self>
pub fn post_bundle_location_id_bytes(&self) -> &[u8] ⓘ
pub fn post_id_bytes(&self) -> &[u8] ⓘ
pub fn feedback_type(&self) -> u8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PostBundleFeedbackKey
impl RefUnwindSafe for PostBundleFeedbackKey
impl Send for PostBundleFeedbackKey
impl Sync for PostBundleFeedbackKey
impl Unpin for PostBundleFeedbackKey
impl UnsafeUnpin for PostBundleFeedbackKey
impl UnwindSafe for PostBundleFeedbackKey
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)