pub struct AuthorizationStateWaitRegistration {
pub terms_of_service: TermsOfService,
}
Expand description
The user is unregistered and need to accept terms of service and enter their first name and last name to finish registration. Call registerUser to accept the terms of service and provide the data
Fields§
§terms_of_service: TermsOfService
Telegram terms of service
Trait Implementations§
Source§impl Clone for AuthorizationStateWaitRegistration
impl Clone for AuthorizationStateWaitRegistration
Source§fn clone(&self) -> AuthorizationStateWaitRegistration
fn clone(&self) -> AuthorizationStateWaitRegistration
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 Default for AuthorizationStateWaitRegistration
impl Default for AuthorizationStateWaitRegistration
Source§fn default() -> AuthorizationStateWaitRegistration
fn default() -> AuthorizationStateWaitRegistration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthorizationStateWaitRegistration
impl<'de> Deserialize<'de> for AuthorizationStateWaitRegistration
Source§fn 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
Source§impl PartialEq for AuthorizationStateWaitRegistration
impl PartialEq for AuthorizationStateWaitRegistration
Source§fn eq(&self, other: &AuthorizationStateWaitRegistration) -> bool
fn eq(&self, other: &AuthorizationStateWaitRegistration) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AuthorizationStateWaitRegistration
Auto Trait Implementations§
impl Freeze for AuthorizationStateWaitRegistration
impl RefUnwindSafe for AuthorizationStateWaitRegistration
impl Send for AuthorizationStateWaitRegistration
impl Sync for AuthorizationStateWaitRegistration
impl Unpin for AuthorizationStateWaitRegistration
impl UnwindSafe for AuthorizationStateWaitRegistration
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