Struct tdlib_types::methods::AcceptTermsOfService
source · pub struct AcceptTermsOfService {
pub terms_of_service_id: String,
}
Expand description
Accepts Telegram terms of services
Fields
terms_of_service_id: String
Terms of service identifier
Trait Implementations
sourceimpl Clone for AcceptTermsOfService
impl Clone for AcceptTermsOfService
sourcefn clone(&self) -> AcceptTermsOfService
fn clone(&self) -> AcceptTermsOfService
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AcceptTermsOfService
impl Debug for AcceptTermsOfService
sourceimpl<'de> Deserialize<'de> for AcceptTermsOfService
impl<'de> Deserialize<'de> for AcceptTermsOfService
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Method for AcceptTermsOfService
impl Method for AcceptTermsOfService
sourceimpl Serialize for AcceptTermsOfService
impl Serialize for AcceptTermsOfService
Auto Trait Implementations
impl RefUnwindSafe for AcceptTermsOfService
impl Send for AcceptTermsOfService
impl Sync for AcceptTermsOfService
impl Unpin for AcceptTermsOfService
impl UnwindSafe for AcceptTermsOfService
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more