pub struct RetentionPref {
pub device_id: String,
pub days: i64,
}Fields§
§device_id: String§days: i64Trait Implementations§
Source§impl Clone for RetentionPref
impl Clone for RetentionPref
Source§fn clone(&self) -> RetentionPref
fn clone(&self) -> RetentionPref
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 RetentionPref
impl Debug for RetentionPref
Source§impl<'de> Deserialize<'de> for RetentionPref
impl<'de> Deserialize<'de> for RetentionPref
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 RetentionPref
impl PartialEq for RetentionPref
Source§fn eq(&self, other: &RetentionPref) -> bool
fn eq(&self, other: &RetentionPref) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RetentionPref
impl Serialize for RetentionPref
impl Eq for RetentionPref
impl StructuralPartialEq for RetentionPref
Auto Trait Implementations§
impl Freeze for RetentionPref
impl RefUnwindSafe for RetentionPref
impl Send for RetentionPref
impl Sync for RetentionPref
impl Unpin for RetentionPref
impl UnsafeUnpin for RetentionPref
impl UnwindSafe for RetentionPref
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