pub struct UpdateStoryStealthMode {
pub active_until_date: i32,
pub cooldown_until_date: i32,
}
Expand description
Story stealth mode settings have changed
Fields§
§active_until_date: i32
Point in time (Unix timestamp) until stealth mode is active; 0 if it is disabled
cooldown_until_date: i32
Point in time (Unix timestamp) when stealth mode can be enabled again; 0 if there is no active cooldown
Trait Implementations§
Source§impl Clone for UpdateStoryStealthMode
impl Clone for UpdateStoryStealthMode
Source§fn clone(&self) -> UpdateStoryStealthMode
fn clone(&self) -> UpdateStoryStealthMode
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 UpdateStoryStealthMode
impl Debug for UpdateStoryStealthMode
Source§impl Default for UpdateStoryStealthMode
impl Default for UpdateStoryStealthMode
Source§fn default() -> UpdateStoryStealthMode
fn default() -> UpdateStoryStealthMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateStoryStealthMode
impl<'de> Deserialize<'de> for UpdateStoryStealthMode
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 UpdateStoryStealthMode
impl PartialEq for UpdateStoryStealthMode
Source§impl Serialize for UpdateStoryStealthMode
impl Serialize for UpdateStoryStealthMode
impl StructuralPartialEq for UpdateStoryStealthMode
Auto Trait Implementations§
impl Freeze for UpdateStoryStealthMode
impl RefUnwindSafe for UpdateStoryStealthMode
impl Send for UpdateStoryStealthMode
impl Sync for UpdateStoryStealthMode
impl Unpin for UpdateStoryStealthMode
impl UnwindSafe for UpdateStoryStealthMode
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