pub struct Handle {
pub object_id: Id,
pub object_type: Type,
}
Expand description
Objects in the HSM are keyed by a tuple of their type an object::Id (i.e. multiple objects of different types can have the same object::Id)
Fields§
§object_id: Id
ID of the object
object_type: Type
Type of object
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Handle
impl<'de> Deserialize<'de> for Handle
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
source§impl Ord for Handle
impl Ord for Handle
source§impl PartialEq<Handle> for Handle
impl PartialEq<Handle> for Handle
source§impl PartialOrd<Handle> for Handle
impl PartialOrd<Handle> for Handle
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Handle
impl StructuralEq for Handle
impl StructuralPartialEq for Handle
Auto Trait Implementations§
impl RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl UnwindSafe for Handle
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