#[non_exhaustive]pub struct BoxGroupWithPostings {
pub id: i64,
pub box_id: Option<i64>,
pub postings: Option<Vec<Posting>>,
}Expand description
BoxGroupWithPostings — a Set Aside group with one page of the postings in it
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: i64§box_id: Option<i64>§postings: Option<Vec<Posting>>Trait Implementations§
Source§impl Clone for BoxGroupWithPostings
impl Clone for BoxGroupWithPostings
Source§fn clone(&self) -> BoxGroupWithPostings
fn clone(&self) -> BoxGroupWithPostings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BoxGroupWithPostings
impl Debug for BoxGroupWithPostings
Source§impl Default for BoxGroupWithPostings
impl Default for BoxGroupWithPostings
Source§fn default() -> BoxGroupWithPostings
fn default() -> BoxGroupWithPostings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BoxGroupWithPostings
impl<'de> Deserialize<'de> for BoxGroupWithPostings
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 BoxGroupWithPostings
impl PartialEq for BoxGroupWithPostings
Source§impl Serialize for BoxGroupWithPostings
impl Serialize for BoxGroupWithPostings
impl StructuralPartialEq for BoxGroupWithPostings
Auto Trait Implementations§
impl Freeze for BoxGroupWithPostings
impl RefUnwindSafe for BoxGroupWithPostings
impl Send for BoxGroupWithPostings
impl Sync for BoxGroupWithPostings
impl Unpin for BoxGroupWithPostings
impl UnsafeUnpin for BoxGroupWithPostings
impl UnwindSafe for BoxGroupWithPostings
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