pub struct UpdateTermsOfService {
pub terms_of_service_id: String,
pub terms_of_service: TermsOfService,
}
Expand description
New terms of service must be accepted by the user. If the terms of service are declined, then the deleteAccount method should be called with the reason “Decline ToS update”
Fields§
§terms_of_service_id: String
Identifier of the terms of service
terms_of_service: TermsOfService
The new terms of service
Trait Implementations§
Source§impl Clone for UpdateTermsOfService
impl Clone for UpdateTermsOfService
Source§fn clone(&self) -> UpdateTermsOfService
fn clone(&self) -> UpdateTermsOfService
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 UpdateTermsOfService
impl Debug for UpdateTermsOfService
Source§impl<'de> Deserialize<'de> for UpdateTermsOfService
impl<'de> Deserialize<'de> for UpdateTermsOfService
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
Auto Trait Implementations§
impl Freeze for UpdateTermsOfService
impl RefUnwindSafe for UpdateTermsOfService
impl Send for UpdateTermsOfService
impl Sync for UpdateTermsOfService
impl Unpin for UpdateTermsOfService
impl UnwindSafe for UpdateTermsOfService
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