pub struct UpdateFreezeState {
pub is_frozen: bool,
pub freezing_date: i32,
pub deletion_date: i32,
pub appeal_link: String,
}Expand description
The freeze state of the current user’s account has changed
Fields§
§is_frozen: boolTrue, if the account is frozen
freezing_date: i32Point in time (Unix timestamp) when the account was frozen; 0 if the account isn’t frozen
deletion_date: i32Point in time (Unix timestamp) when the account will be deleted and can’t be unfrozen; 0 if the account isn’t frozen
appeal_link: StringThe link to open to send an appeal to unfreeze the account
Trait Implementations§
Source§impl Clone for UpdateFreezeState
impl Clone for UpdateFreezeState
Source§fn clone(&self) -> UpdateFreezeState
fn clone(&self) -> UpdateFreezeState
Returns a duplicate of the value. Read more
1.0.0 · 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 UpdateFreezeState
impl Debug for UpdateFreezeState
Source§impl Default for UpdateFreezeState
impl Default for UpdateFreezeState
Source§fn default() -> UpdateFreezeState
fn default() -> UpdateFreezeState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateFreezeState
impl<'de> Deserialize<'de> for UpdateFreezeState
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 UpdateFreezeState
impl PartialEq for UpdateFreezeState
Source§impl Serialize for UpdateFreezeState
impl Serialize for UpdateFreezeState
impl StructuralPartialEq for UpdateFreezeState
Auto Trait Implementations§
impl Freeze for UpdateFreezeState
impl RefUnwindSafe for UpdateFreezeState
impl Send for UpdateFreezeState
impl Sync for UpdateFreezeState
impl Unpin for UpdateFreezeState
impl UnsafeUnpin for UpdateFreezeState
impl UnwindSafe for UpdateFreezeState
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