pub struct InputAiComposeToneId {
pub id: i64,
pub access_hash: i64,
}Expand description
Generated from:
inputAiComposeToneID#773c080 id:long access_hash:long = InputAiComposeToneFields§
§id: i64§access_hash: i64Trait Implementations§
Source§impl Clone for InputAiComposeToneId
impl Clone for InputAiComposeToneId
Source§fn clone(&self) -> InputAiComposeToneId
fn clone(&self) -> InputAiComposeToneId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InputAiComposeToneId
impl Debug for InputAiComposeToneId
Source§impl Deserializable for InputAiComposeToneId
impl Deserializable for InputAiComposeToneId
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<InputAiComposeToneId> for InputAiComposeTone
impl From<InputAiComposeToneId> for InputAiComposeTone
Source§fn from(x: InputAiComposeToneId) -> Self
fn from(x: InputAiComposeToneId) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputAiComposeToneId
impl Identifiable for InputAiComposeToneId
Source§const CONSTRUCTOR_ID: u32 = 0x0773c080
const CONSTRUCTOR_ID: u32 = 0x0773c080
The constructor ID as specified in the TL schema.
Source§impl PartialEq for InputAiComposeToneId
impl PartialEq for InputAiComposeToneId
Source§fn eq(&self, other: &InputAiComposeToneId) -> bool
fn eq(&self, other: &InputAiComposeToneId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serializable for InputAiComposeToneId
impl Serializable for InputAiComposeToneId
Source§impl TryFrom<InputAiComposeTone> for InputAiComposeToneId
impl TryFrom<InputAiComposeTone> for InputAiComposeToneId
Source§type Error = InputAiComposeTone
type Error = InputAiComposeTone
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputAiComposeToneId
Auto Trait Implementations§
impl Freeze for InputAiComposeToneId
impl RefUnwindSafe for InputAiComposeToneId
impl Send for InputAiComposeToneId
impl Sync for InputAiComposeToneId
impl Unpin for InputAiComposeToneId
impl UnsafeUnpin for InputAiComposeToneId
impl UnwindSafe for InputAiComposeToneId
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