pub enum TermsOfService {
TermsOfService(TermsOfService),
}Expand description
Variants§
TermsOfService(TermsOfService)
Trait Implementations§
Source§impl Clone for TermsOfService
impl Clone for TermsOfService
Source§fn clone(&self) -> TermsOfService
fn clone(&self) -> TermsOfService
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 TermsOfService
impl Debug for TermsOfService
Source§impl Deserializable for TermsOfService
impl Deserializable for TermsOfService
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<TermsOfService> for TermsOfService
impl From<TermsOfService> for TermsOfService
Source§fn from(x: TermsOfService) -> Self
fn from(x: TermsOfService) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TermsOfService
impl PartialEq for TermsOfService
Source§impl Serializable for TermsOfService
impl Serializable for TermsOfService
Source§impl TryFrom<TermsOfService> for TermsOfService
impl TryFrom<TermsOfService> for TermsOfService
Source§type Error = TermsOfService
type Error = TermsOfService
The type returned in the event of a conversion error.
impl StructuralPartialEq for TermsOfService
Auto Trait Implementations§
impl Freeze for TermsOfService
impl RefUnwindSafe for TermsOfService
impl Send for TermsOfService
impl Sync for TermsOfService
impl Unpin for TermsOfService
impl UnsafeUnpin for TermsOfService
impl UnwindSafe for TermsOfService
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