pub struct ActionGraph {
pub schema_version: u16,
pub graph_version: String,
pub contract_version: String,
pub entry_node: String,
pub authority: ActionAuthorityModel,
pub nodes: Vec<ActionNode>,
pub edges: Vec<ActionEdge>,
}Fields§
§schema_version: u16§graph_version: String§contract_version: String§entry_node: String§nodes: Vec<ActionNode>§edges: Vec<ActionEdge>Implementations§
Source§impl ActionGraph
impl ActionGraph
Sourcepub fn for_catalog(catalog: &CapabilityCatalog) -> ActionGraph
pub fn for_catalog(catalog: &CapabilityCatalog) -> ActionGraph
Build the stable action topology with availability projected from the live capability catalog. Static documentation never grants access: a callable node is available only when every required capability is live.
Trait Implementations§
Source§impl Clone for ActionGraph
impl Clone for ActionGraph
Source§fn clone(&self) -> ActionGraph
fn clone(&self) -> ActionGraph
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 ActionGraph
impl Debug for ActionGraph
Source§impl<'de> Deserialize<'de> for ActionGraph
impl<'de> Deserialize<'de> for ActionGraph
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ActionGraph, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ActionGraph, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ActionGraph
Source§impl PartialEq for ActionGraph
impl PartialEq for ActionGraph
Source§impl Serialize for ActionGraph
impl Serialize for ActionGraph
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 ActionGraph
Auto Trait Implementations§
impl Freeze for ActionGraph
impl RefUnwindSafe for ActionGraph
impl Send for ActionGraph
impl Sync for ActionGraph
impl Unpin for ActionGraph
impl UnsafeUnpin for ActionGraph
impl UnwindSafe for ActionGraph
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