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