pub struct SigningKeyId(pub String);Expand description
Re-exported so a consumer holding evidence does not also depend on
boundgraph-core just for the types it is made of.
Identifies the key a signature was made with.
Recorded so a verifier knows which public key to check against. Whether keys are per-host, per-run, or held in an external KMS is unresolved, so this is an opaque identifier rather than an embedded key.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for SigningKeyId
impl Clone for SigningKeyId
Source§fn clone(&self) -> SigningKeyId
fn clone(&self) -> SigningKeyId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SigningKeyId
impl Debug for SigningKeyId
Source§impl<'de> Deserialize<'de> for SigningKeyId
impl<'de> Deserialize<'de> for SigningKeyId
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SigningKeyId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SigningKeyId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SigningKeyId
impl Display for SigningKeyId
impl Eq for SigningKeyId
Source§impl Hash for SigningKeyId
impl Hash for SigningKeyId
Source§impl Ord for SigningKeyId
impl Ord for SigningKeyId
Source§fn cmp(&self, other: &SigningKeyId) -> Ordering
fn cmp(&self, other: &SigningKeyId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SigningKeyId
impl PartialEq for SigningKeyId
Source§impl PartialOrd for SigningKeyId
impl PartialOrd for SigningKeyId
Source§impl Serialize for SigningKeyId
impl Serialize for SigningKeyId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SigningKeyId
Auto Trait Implementations§
impl Freeze for SigningKeyId
impl RefUnwindSafe for SigningKeyId
impl Send for SigningKeyId
impl Sync for SigningKeyId
impl Unpin for SigningKeyId
impl UnsafeUnpin for SigningKeyId
impl UnwindSafe for SigningKeyId
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
Source§impl<T> Canonical for T
impl<T> Canonical for T
Source§fn canonical_bytes(&self) -> Result<Vec<u8>, CanonicalError>
fn canonical_bytes(&self) -> Result<Vec<u8>, CanonicalError>
The canonical CBOR encoding of this value.