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