pub struct ArtifactMetadata {
pub name: Option<String>,
pub description: Option<String>,
pub has_auto_run: bool,
pub has_turbo_annotation: bool,
pub commands: Vec<String>,
pub permissions: Vec<String>,
}Expand description
Metadata extracted from artifact
Fields§
§name: Option<String>§description: Option<String>§has_auto_run: bool§has_turbo_annotation: bool§commands: Vec<String>§permissions: Vec<String>Trait Implementations§
Source§impl Clone for ArtifactMetadata
impl Clone for ArtifactMetadata
Source§fn clone(&self) -> ArtifactMetadata
fn clone(&self) -> ArtifactMetadata
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 ArtifactMetadata
impl Debug for ArtifactMetadata
Source§impl Default for ArtifactMetadata
impl Default for ArtifactMetadata
Source§fn default() -> ArtifactMetadata
fn default() -> ArtifactMetadata
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ArtifactMetadata
impl<'de> Deserialize<'de> for ArtifactMetadata
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
Auto Trait Implementations§
impl Freeze for ArtifactMetadata
impl RefUnwindSafe for ArtifactMetadata
impl Send for ArtifactMetadata
impl Sync for ArtifactMetadata
impl Unpin for ArtifactMetadata
impl UnwindSafe for ArtifactMetadata
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