pub struct TermsOfServiceUpdateEmpty {
pub expires: i32,
}Expand description
help.termsOfServiceUpdateEmpty
Generated from:
help.termsOfServiceUpdateEmpty#e3309f7f expires:int = help.TermsOfServiceUpdateFields§
§expires: i32Trait Implementations§
Source§impl Clone for TermsOfServiceUpdateEmpty
impl Clone for TermsOfServiceUpdateEmpty
Source§fn clone(&self) -> TermsOfServiceUpdateEmpty
fn clone(&self) -> TermsOfServiceUpdateEmpty
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 TermsOfServiceUpdateEmpty
impl Debug for TermsOfServiceUpdateEmpty
Source§impl Deserializable for TermsOfServiceUpdateEmpty
impl Deserializable for TermsOfServiceUpdateEmpty
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<TermsOfServiceUpdateEmpty> for TermsOfServiceUpdate
impl From<TermsOfServiceUpdateEmpty> for TermsOfServiceUpdate
Source§fn from(x: TermsOfServiceUpdateEmpty) -> Self
fn from(x: TermsOfServiceUpdateEmpty) -> Self
Converts to this type from the input type.
Source§impl Identifiable for TermsOfServiceUpdateEmpty
impl Identifiable for TermsOfServiceUpdateEmpty
Source§const CONSTRUCTOR_ID: u32 = 0xe3309f7f
const CONSTRUCTOR_ID: u32 = 0xe3309f7f
The constructor ID as specified in the TL schema.
Source§impl TryFrom<TermsOfServiceUpdate> for TermsOfServiceUpdateEmpty
impl TryFrom<TermsOfServiceUpdate> for TermsOfServiceUpdateEmpty
Source§type Error = TermsOfServiceUpdate
type Error = TermsOfServiceUpdate
The type returned in the event of a conversion error.
impl StructuralPartialEq for TermsOfServiceUpdateEmpty
Auto Trait Implementations§
impl Freeze for TermsOfServiceUpdateEmpty
impl RefUnwindSafe for TermsOfServiceUpdateEmpty
impl Send for TermsOfServiceUpdateEmpty
impl Sync for TermsOfServiceUpdateEmpty
impl Unpin for TermsOfServiceUpdateEmpty
impl UnsafeUnpin for TermsOfServiceUpdateEmpty
impl UnwindSafe for TermsOfServiceUpdateEmpty
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