Enum clacks_mtproto::mtproto::PeerNotifySettings
[−]
[src]
pub enum PeerNotifySettings { Empty, PeerNotifySettings(PeerNotifySettings), }
TL-derived from PeerNotifySettings
peerNotifySettingsEmpty#70a68512 = PeerNotifySettings;
peerNotifySettings#9acda4c0 flags:# show_previews:flags.0?true silent:flags.1?true mute_until:int sound:string = PeerNotifySettings;
Variants
Empty
PeerNotifySettings(PeerNotifySettings)
Methods
impl PeerNotifySettings
[src]
pub fn mute_until(&self) -> Option<&int>
[src]
pub fn show_previews(&self) -> Option<bool>
[src]
pub fn silent(&self) -> Option<bool>
[src]
pub fn sound(&self) -> Option<&string>
[src]
Trait Implementations
impl Debug for PeerNotifySettings
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for PeerNotifySettings
[src]
fn clone(&self) -> PeerNotifySettings
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BoxedSerialize for PeerNotifySettings
[src]
fn serialize_boxed<'this>(
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
[src]
&'this self
) -> (ConstructorNumber, &'this BareSerialize)
fn boxed_serialized_bytes(&self) -> Result<Vec<u8>>
[src]
impl BoxedDeserialize for PeerNotifySettings
[src]
fn possible_constructors() -> Vec<ConstructorNumber>
[src]
fn deserialize_boxed(
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>
[src]
_id: ConstructorNumber,
_de: &mut Deserializer
) -> Result<Self>