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