pub struct NotificationSoundRingtone {
pub id: i64,
}Expand description
Generated from:
notificationSoundRingtone#ff6c8049 id:long = NotificationSoundFields§
§id: i64Trait Implementations§
Source§impl Clone for NotificationSoundRingtone
impl Clone for NotificationSoundRingtone
Source§fn clone(&self) -> NotificationSoundRingtone
fn clone(&self) -> NotificationSoundRingtone
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 NotificationSoundRingtone
impl Debug for NotificationSoundRingtone
Source§impl Deserializable for NotificationSoundRingtone
impl Deserializable for NotificationSoundRingtone
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<NotificationSoundRingtone> for NotificationSound
impl From<NotificationSoundRingtone> for NotificationSound
Source§fn from(x: NotificationSoundRingtone) -> Self
fn from(x: NotificationSoundRingtone) -> Self
Converts to this type from the input type.
Source§impl Identifiable for NotificationSoundRingtone
impl Identifiable for NotificationSoundRingtone
Source§const CONSTRUCTOR_ID: u32 = 0xff6c8049
const CONSTRUCTOR_ID: u32 = 0xff6c8049
The constructor ID as specified in the TL schema.
Source§impl TryFrom<NotificationSound> for NotificationSoundRingtone
impl TryFrom<NotificationSound> for NotificationSoundRingtone
Source§type Error = NotificationSound
type Error = NotificationSound
The type returned in the event of a conversion error.
impl StructuralPartialEq for NotificationSoundRingtone
Auto Trait Implementations§
impl Freeze for NotificationSoundRingtone
impl RefUnwindSafe for NotificationSoundRingtone
impl Send for NotificationSoundRingtone
impl Sync for NotificationSoundRingtone
impl Unpin for NotificationSoundRingtone
impl UnsafeUnpin for NotificationSoundRingtone
impl UnwindSafe for NotificationSoundRingtone
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