pub struct StoriesStealthMode {
pub active_until_date: Option<i32>,
pub cooldown_until_date: Option<i32>,
}Expand description
Generated from:
storiesStealthMode#712e27fd flags:# active_until_date:flags.0?int cooldown_until_date:flags.1?int = StoriesStealthModeFields§
§active_until_date: Option<i32>§cooldown_until_date: Option<i32>Trait Implementations§
Source§impl Clone for StoriesStealthMode
impl Clone for StoriesStealthMode
Source§fn clone(&self) -> StoriesStealthMode
fn clone(&self) -> StoriesStealthMode
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 StoriesStealthMode
impl Debug for StoriesStealthMode
Source§impl Deserializable for StoriesStealthMode
impl Deserializable for StoriesStealthMode
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<StoriesStealthMode> for StoriesStealthMode
impl From<StoriesStealthMode> for StoriesStealthMode
Source§fn from(x: StoriesStealthMode) -> Self
fn from(x: StoriesStealthMode) -> Self
Converts to this type from the input type.
Source§impl Identifiable for StoriesStealthMode
impl Identifiable for StoriesStealthMode
Source§const CONSTRUCTOR_ID: u32 = 0x712e27fd
const CONSTRUCTOR_ID: u32 = 0x712e27fd
The constructor ID as specified in the TL schema.
Source§impl PartialEq for StoriesStealthMode
impl PartialEq for StoriesStealthMode
Source§impl Serializable for StoriesStealthMode
impl Serializable for StoriesStealthMode
Source§impl TryFrom<StoriesStealthMode> for StoriesStealthMode
impl TryFrom<StoriesStealthMode> for StoriesStealthMode
Source§type Error = StoriesStealthMode
type Error = StoriesStealthMode
The type returned in the event of a conversion error.
impl StructuralPartialEq for StoriesStealthMode
Auto Trait Implementations§
impl Freeze for StoriesStealthMode
impl RefUnwindSafe for StoriesStealthMode
impl Send for StoriesStealthMode
impl Sync for StoriesStealthMode
impl Unpin for StoriesStealthMode
impl UnsafeUnpin for StoriesStealthMode
impl UnwindSafe for StoriesStealthMode
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