pub struct UseAttribution {
pub run_id: String,
pub actor: Option<String>,
pub effect_key: Option<String>,
}Expand description
Who is using the credential, recorded with every use — §1 claims every
use is attributable, and UsesAreRecorded in CredentialCustody.tla
exists so the rung floor cannot be satisfied by an unrecorded use.
Fields§
§run_id: StringThe run performing the use.
actor: Option<String>The acting agent/instance within the run, when one exists.
effect_key: Option<String>The effect key of the effect this use serves, when one exists.
Trait Implementations§
Source§impl Clone for UseAttribution
impl Clone for UseAttribution
Source§fn clone(&self) -> UseAttribution
fn clone(&self) -> UseAttribution
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 UseAttribution
impl Debug for UseAttribution
Source§impl<'de> Deserialize<'de> for UseAttribution
impl<'de> Deserialize<'de> for UseAttribution
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
impl Eq for UseAttribution
Source§impl PartialEq for UseAttribution
impl PartialEq for UseAttribution
Source§impl Serialize for UseAttribution
impl Serialize for UseAttribution
impl StructuralPartialEq for UseAttribution
Auto Trait Implementations§
impl Freeze for UseAttribution
impl RefUnwindSafe for UseAttribution
impl Send for UseAttribution
impl Sync for UseAttribution
impl Unpin for UseAttribution
impl UnsafeUnpin for UseAttribution
impl UnwindSafe for UseAttribution
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