pub struct IrCredential {
pub name: String,
pub kind: String,
pub span: SourceSpan,
}Expand description
A lowered credential declaration (DR-0053 §5): a handle plus its
declared kind, normalized to the custody protocol’s kebab-case. Metadata
only — reality (material, sealing rung, grants) lives with the custodian
and governance, never in the program.
Fields§
§name: String§kind: StringKebab-case credential kind (bearer, hmac-sha256, …).
span: SourceSpanTrait Implementations§
Source§impl Clone for IrCredential
impl Clone for IrCredential
Source§fn clone(&self) -> IrCredential
fn clone(&self) -> IrCredential
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 IrCredential
impl Debug for IrCredential
impl Eq for IrCredential
Source§impl PartialEq for IrCredential
impl PartialEq for IrCredential
impl StructuralPartialEq for IrCredential
Auto Trait Implementations§
impl Freeze for IrCredential
impl RefUnwindSafe for IrCredential
impl Send for IrCredential
impl Sync for IrCredential
impl Unpin for IrCredential
impl UnsafeUnpin for IrCredential
impl UnwindSafe for IrCredential
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