Enum trussed::types::ObjectType
source · [−]pub enum ObjectType {
Certificate(CertificateType),
Counter,
Data,
Key(Secrecy),
}
Variants
Certificate(CertificateType)
Counter
Data
Key(Secrecy)
Trait Implementations
sourceimpl Clone for ObjectType
impl Clone for ObjectType
sourcefn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ObjectType
impl Debug for ObjectType
sourceimpl PartialEq<ObjectType> for ObjectType
impl PartialEq<ObjectType> for ObjectType
sourcefn eq(&self, other: &ObjectType) -> bool
fn eq(&self, other: &ObjectType) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ObjectType) -> bool
fn ne(&self, other: &ObjectType) -> bool
This method tests for !=
.
impl Eq for ObjectType
impl StructuralEq for ObjectType
impl StructuralPartialEq for ObjectType
Auto Trait Implementations
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more