pub struct ArtifactContract {
pub name: &'static str,
pub schema_id: &'static str,
pub schema_version: u32,
pub inventory_scanner: &'static str,
pub fixed_command: Option<&'static str>,
}Fields§
§name: &'static str§schema_id: &'static str§schema_version: u32§inventory_scanner: &'static str§fixed_command: Option<&'static str>Trait Implementations§
Source§impl Clone for ArtifactContract
impl Clone for ArtifactContract
Source§fn clone(&self) -> ArtifactContract
fn clone(&self) -> ArtifactContract
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 moreimpl Copy for ArtifactContract
Source§impl Debug for ArtifactContract
impl Debug for ArtifactContract
impl Eq for ArtifactContract
Source§impl PartialEq for ArtifactContract
impl PartialEq for ArtifactContract
Source§fn eq(&self, other: &ArtifactContract) -> bool
fn eq(&self, other: &ArtifactContract) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ArtifactContract
Auto Trait Implementations§
impl Freeze for ArtifactContract
impl RefUnwindSafe for ArtifactContract
impl Send for ArtifactContract
impl Sync for ArtifactContract
impl Unpin for ArtifactContract
impl UnsafeUnpin for ArtifactContract
impl UnwindSafe for ArtifactContract
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