pub struct PlaybookSource {
pub manifest: ModuleManifest,
pub source: String,
}Fields§
§manifest: ModuleManifest§source: StringImplementations§
Source§impl PlaybookSource
impl PlaybookSource
pub fn ident(&self) -> PlaybookIdent
pub fn dependencies(&self) -> ModuleDependencies
pub fn configurations(&self) -> Vec<ConfiguredCapability>
Sourcepub fn hash(&self) -> String
pub fn hash(&self) -> String
Computes a deterministic hash of the module’s source and dependencies.
pub fn compute_hash( code: &str, dependencies: &BTreeMap<String, Dependency>, capabilities: &[CapabilityIdent], ) -> String
pub fn new( ident: PlaybookIdent, dependencies: ModuleDependencies, configurations: Vec<ConfiguredCapability>, source: String, interconnect: BTreeMap<String, PlaybookIdent>, ) -> Self
Trait Implementations§
Source§impl Artifact for PlaybookSource
impl Artifact for PlaybookSource
Source§impl Clone for PlaybookSource
impl Clone for PlaybookSource
Source§fn clone(&self) -> PlaybookSource
fn clone(&self) -> PlaybookSource
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 PlaybookSource
impl Debug for PlaybookSource
Source§impl<'de> Deserialize<'de> for PlaybookSource
impl<'de> Deserialize<'de> for PlaybookSource
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
Source§impl From<PlaybookSource> for Artifacts
impl From<PlaybookSource> for Artifacts
Source§fn from(value: PlaybookSource) -> Self
fn from(value: PlaybookSource) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PlaybookSource
impl PartialEq for PlaybookSource
Source§fn eq(&self, other: &PlaybookSource) -> bool
fn eq(&self, other: &PlaybookSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PlaybookSource
impl Serialize for PlaybookSource
impl StructuralPartialEq for PlaybookSource
Auto Trait Implementations§
impl Freeze for PlaybookSource
impl RefUnwindSafe for PlaybookSource
impl Send for PlaybookSource
impl Sync for PlaybookSource
impl Unpin for PlaybookSource
impl UnsafeUnpin for PlaybookSource
impl UnwindSafe for PlaybookSource
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