pub enum TermsOfServiceUpdate {
Empty(TermsOfServiceUpdateEmpty),
TermsOfServiceUpdate(TermsOfServiceUpdate),
}Expand description
Variants§
Empty(TermsOfServiceUpdateEmpty)
TermsOfServiceUpdate(TermsOfServiceUpdate)
Trait 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 From<TermsOfServiceUpdateEmpty> for TermsOfServiceUpdate
impl From<TermsOfServiceUpdateEmpty> for TermsOfServiceUpdate
Source§fn from(x: TermsOfServiceUpdateEmpty) -> Self
fn from(x: TermsOfServiceUpdateEmpty) -> Self
Converts to this type from the input type.
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.
Source§impl TryFrom<TermsOfServiceUpdate> for TermsOfServiceUpdateEmpty
impl TryFrom<TermsOfServiceUpdate> for TermsOfServiceUpdateEmpty
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