pub struct GovernedUpstreamCallChainProofBody {
pub signer: PublicKey,
pub subject: PublicKey,
pub chain_id: String,
pub parent_request_id: String,
pub parent_receipt_id: Option<String>,
pub origin_subject: String,
pub delegator_subject: String,
pub issued_at: u64,
pub expires_at: u64,
}Expand description
Signable upstream proof for delegated governed call-chain provenance.
Fields§
§signer: PublicKeyPublic key that authenticated the upstream delegated handoff.
subject: PublicKeyCapability subject key this handoff was issued to.
chain_id: StringStable identifier for the delegated transaction or call chain.
parent_request_id: StringUpstream parent request identifier inside the trusted domain.
parent_receipt_id: Option<String>Optional upstream parent receipt identifier when already available.
origin_subject: StringRoot or originating subject for the governed chain.
delegator_subject: StringImmediate delegator subject that handed control to the current subject.
issued_at: u64Unix timestamp (seconds) when this proof was issued.
expires_at: u64Unix timestamp (seconds) when this proof expires.
Trait Implementations§
Source§impl Clone for GovernedUpstreamCallChainProofBody
impl Clone for GovernedUpstreamCallChainProofBody
Source§fn clone(&self) -> GovernedUpstreamCallChainProofBody
fn clone(&self) -> GovernedUpstreamCallChainProofBody
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for GovernedUpstreamCallChainProofBody
impl<'de> Deserialize<'de> for GovernedUpstreamCallChainProofBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedUpstreamCallChainProofBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedUpstreamCallChainProofBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GovernedUpstreamCallChainProofBody
impl PartialEq for GovernedUpstreamCallChainProofBody
Source§fn eq(&self, other: &GovernedUpstreamCallChainProofBody) -> bool
fn eq(&self, other: &GovernedUpstreamCallChainProofBody) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GovernedUpstreamCallChainProofBody
impl Serialize for GovernedUpstreamCallChainProofBody
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 Eq for GovernedUpstreamCallChainProofBody
impl StructuralPartialEq for GovernedUpstreamCallChainProofBody
Auto Trait Implementations§
impl Freeze for GovernedUpstreamCallChainProofBody
impl RefUnwindSafe for GovernedUpstreamCallChainProofBody
impl Send for GovernedUpstreamCallChainProofBody
impl Sync for GovernedUpstreamCallChainProofBody
impl Unpin for GovernedUpstreamCallChainProofBody
impl UnsafeUnpin for GovernedUpstreamCallChainProofBody
impl UnwindSafe for GovernedUpstreamCallChainProofBody
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