pub struct Username {
pub editable: bool,
pub active: bool,
pub username: String,
}Expand description
Generated from:
username#b4073647 flags:# editable:flags.0?true active:flags.1?true username:string = UsernameFields§
§editable: bool§active: bool§username: StringTrait Implementations§
Source§impl Deserializable for Username
impl Deserializable for Username
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 Identifiable for Username
impl Identifiable for Username
Source§const CONSTRUCTOR_ID: u32 = 0xb4073647
const CONSTRUCTOR_ID: u32 = 0xb4073647
The constructor ID as specified in the TL schema.
Source§impl Serializable for Username
impl Serializable for Username
impl StructuralPartialEq for Username
Auto Trait Implementations§
impl Freeze for Username
impl RefUnwindSafe for Username
impl Send for Username
impl Sync for Username
impl Unpin for Username
impl UnsafeUnpin for Username
impl UnwindSafe for Username
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