#[non_exhaustive]pub struct DeletedPosting {
pub id: i64,
pub box_id: Option<i64>,
pub deleted_at: Option<DateTime>,
}Expand description
DeletedPosting — the stub the changes feed answers with for a posting that is gone
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>§deleted_at: Option<DateTime>ISO 8601 date-time timestamp (overrides restJson1 epoch-seconds default)
Trait Implementations§
Source§impl Clone for DeletedPosting
impl Clone for DeletedPosting
Source§fn clone(&self) -> DeletedPosting
fn clone(&self) -> DeletedPosting
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 DeletedPosting
impl Debug for DeletedPosting
Source§impl Default for DeletedPosting
impl Default for DeletedPosting
Source§fn default() -> DeletedPosting
fn default() -> DeletedPosting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeletedPosting
impl<'de> Deserialize<'de> for DeletedPosting
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 DeletedPosting
impl PartialEq for DeletedPosting
Source§impl Serialize for DeletedPosting
impl Serialize for DeletedPosting
impl StructuralPartialEq for DeletedPosting
Auto Trait Implementations§
impl Freeze for DeletedPosting
impl RefUnwindSafe for DeletedPosting
impl Send for DeletedPosting
impl Sync for DeletedPosting
impl Unpin for DeletedPosting
impl UnsafeUnpin for DeletedPosting
impl UnwindSafe for DeletedPosting
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