pub struct GovernedCallChainContext {
pub chain_id: String,
pub parent_request_id: String,
pub parent_receipt_id: Option<String>,
pub origin_subject: String,
pub delegator_subject: String,
}Expand description
Delegated call-chain context bound into a governed request.
Fields§
§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.
Trait Implementations§
Source§impl Clone for GovernedCallChainContext
impl Clone for GovernedCallChainContext
Source§fn clone(&self) -> GovernedCallChainContext
fn clone(&self) -> GovernedCallChainContext
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 Debug for GovernedCallChainContext
impl Debug for GovernedCallChainContext
Source§impl<'de> Deserialize<'de> for GovernedCallChainContext
impl<'de> Deserialize<'de> for GovernedCallChainContext
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedCallChainContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GovernedCallChainContext, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<GovernedCallChainContext> for GovernedCallChainProvenance
impl From<GovernedCallChainContext> for GovernedCallChainProvenance
Source§fn from(context: GovernedCallChainContext) -> GovernedCallChainProvenance
fn from(context: GovernedCallChainContext) -> GovernedCallChainProvenance
Converts to this type from the input type.
Source§impl PartialEq for GovernedCallChainContext
impl PartialEq for GovernedCallChainContext
Source§impl Serialize for GovernedCallChainContext
impl Serialize for GovernedCallChainContext
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 GovernedCallChainContext
impl StructuralPartialEq for GovernedCallChainContext
Auto Trait Implementations§
impl Freeze for GovernedCallChainContext
impl RefUnwindSafe for GovernedCallChainContext
impl Send for GovernedCallChainContext
impl Sync for GovernedCallChainContext
impl Unpin for GovernedCallChainContext
impl UnsafeUnpin for GovernedCallChainContext
impl UnwindSafe for GovernedCallChainContext
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