#[non_exhaustive]pub struct CollectionWithPostings {
pub id: i64,
pub name: Option<String>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub app_url: Option<String>,
pub postings: Option<Vec<Posting>>,
}Expand description
CollectionWithPostings — collection detail with its threads as posting objects
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§name: Option<String>§created_at: Option<DateTime>ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
updated_at: Option<DateTime>ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
app_url: Option<String>§postings: Option<Vec<Posting>>Trait Implementations§
Source§impl Clone for CollectionWithPostings
impl Clone for CollectionWithPostings
Source§fn clone(&self) -> CollectionWithPostings
fn clone(&self) -> CollectionWithPostings
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 CollectionWithPostings
impl Debug for CollectionWithPostings
Source§impl Default for CollectionWithPostings
impl Default for CollectionWithPostings
Source§fn default() -> CollectionWithPostings
fn default() -> CollectionWithPostings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CollectionWithPostings
impl<'de> Deserialize<'de> for CollectionWithPostings
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 CollectionWithPostings
impl PartialEq for CollectionWithPostings
Source§impl Serialize for CollectionWithPostings
impl Serialize for CollectionWithPostings
impl StructuralPartialEq for CollectionWithPostings
Auto Trait Implementations§
impl Freeze for CollectionWithPostings
impl RefUnwindSafe for CollectionWithPostings
impl Send for CollectionWithPostings
impl Sync for CollectionWithPostings
impl Unpin for CollectionWithPostings
impl UnsafeUnpin for CollectionWithPostings
impl UnwindSafe for CollectionWithPostings
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