pub struct PostBundleMetadata {
pub size: usize,
pub num_posts: u8,
pub num_posts_granted: u8,
pub overflowed: bool,
pub sealed: bool,
}Fields§
§size: usize§num_posts: u8§num_posts_granted: u8§overflowed: bool§sealed: boolImplementations§
Source§impl PostBundleMetadata
impl PostBundleMetadata
pub fn zero() -> PostBundleMetadata
Trait Implementations§
Source§impl Debug for PostBundleMetadata
impl Debug for PostBundleMetadata
Source§impl<'de> Deserialize<'de> for PostBundleMetadata
impl<'de> Deserialize<'de> for PostBundleMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PostBundleMetadata
impl PartialEq for PostBundleMetadata
Source§impl Serialize for PostBundleMetadata
impl Serialize for PostBundleMetadata
impl StructuralPartialEq for PostBundleMetadata
Auto Trait Implementations§
impl Freeze for PostBundleMetadata
impl RefUnwindSafe for PostBundleMetadata
impl Send for PostBundleMetadata
impl Sync for PostBundleMetadata
impl Unpin for PostBundleMetadata
impl UnsafeUnpin for PostBundleMetadata
impl UnwindSafe for PostBundleMetadata
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