pub struct UpdateDcOptions {
pub dc_options: Vec<DcOption>,
}Expand description
Fields§
§dc_options: Vec<DcOption>Trait Implementations§
Source§impl Clone for UpdateDcOptions
impl Clone for UpdateDcOptions
Source§fn clone(&self) -> UpdateDcOptions
fn clone(&self) -> UpdateDcOptions
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 UpdateDcOptions
impl Debug for UpdateDcOptions
Source§impl Deserializable for UpdateDcOptions
impl Deserializable for UpdateDcOptions
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<UpdateDcOptions> for Update
impl From<UpdateDcOptions> for Update
Source§fn from(x: UpdateDcOptions) -> Self
fn from(x: UpdateDcOptions) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateDcOptions
impl Identifiable for UpdateDcOptions
Source§const CONSTRUCTOR_ID: u32 = 0x8e5e9873
const CONSTRUCTOR_ID: u32 = 0x8e5e9873
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateDcOptions
impl PartialEq for UpdateDcOptions
Source§impl Serializable for UpdateDcOptions
impl Serializable for UpdateDcOptions
Source§impl TryFrom<Update> for UpdateDcOptions
impl TryFrom<Update> for UpdateDcOptions
impl StructuralPartialEq for UpdateDcOptions
Auto Trait Implementations§
impl Freeze for UpdateDcOptions
impl RefUnwindSafe for UpdateDcOptions
impl Send for UpdateDcOptions
impl Sync for UpdateDcOptions
impl Unpin for UpdateDcOptions
impl UnsafeUnpin for UpdateDcOptions
impl UnwindSafe for UpdateDcOptions
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