pub struct ArtifactSource {
pub resource: Resource,
pub properties: ArtifactSourceProperties,
}Expand description
Properties of an artifact source.
Fields§
§resource: Resource§properties: ArtifactSourcePropertiesProperties of an artifact source.
Implementations§
Source§impl ArtifactSource
impl ArtifactSource
pub fn new(properties: ArtifactSourceProperties) -> Self
Trait Implementations§
Source§impl Clone for ArtifactSource
impl Clone for ArtifactSource
Source§fn clone(&self) -> ArtifactSource
fn clone(&self) -> ArtifactSource
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 ArtifactSource
impl Debug for ArtifactSource
Source§impl<'de> Deserialize<'de> for ArtifactSource
impl<'de> Deserialize<'de> for ArtifactSource
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 PartialEq for ArtifactSource
impl PartialEq for ArtifactSource
Source§fn eq(&self, other: &ArtifactSource) -> bool
fn eq(&self, other: &ArtifactSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ArtifactSource
impl Serialize for ArtifactSource
impl StructuralPartialEq for ArtifactSource
Auto Trait Implementations§
impl Freeze for ArtifactSource
impl RefUnwindSafe for ArtifactSource
impl Send for ArtifactSource
impl Sync for ArtifactSource
impl Unpin for ArtifactSource
impl UnsafeUnpin for ArtifactSource
impl UnwindSafe for ArtifactSource
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