#[non_exhaustive]pub struct DeploymentNote {
pub resource_uri: Vec<String>,
/* private fields */
}Expand description
An artifact that can be deployed in some runtime.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resource_uri: Vec<String>Required. Resource URI for the artifact being deployed.
Implementations§
Source§impl DeploymentNote
impl DeploymentNote
pub fn new() -> Self
Sourcepub fn set_resource_uri<T, V>(self, v: T) -> Self
pub fn set_resource_uri<T, V>(self, v: T) -> Self
Sets the value of resource_uri.
§Example
ⓘ
let x = DeploymentNote::new().set_resource_uri(["a", "b", "c"]);Trait Implementations§
Source§impl Clone for DeploymentNote
impl Clone for DeploymentNote
Source§fn clone(&self) -> DeploymentNote
fn clone(&self) -> DeploymentNote
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 DeploymentNote
impl Debug for DeploymentNote
Source§impl Default for DeploymentNote
impl Default for DeploymentNote
Source§fn default() -> DeploymentNote
fn default() -> DeploymentNote
Returns the “default value” for a type. Read more
Source§impl Message for DeploymentNote
impl Message for DeploymentNote
Source§impl PartialEq for DeploymentNote
impl PartialEq for DeploymentNote
impl StructuralPartialEq for DeploymentNote
Auto Trait Implementations§
impl Freeze for DeploymentNote
impl RefUnwindSafe for DeploymentNote
impl Send for DeploymentNote
impl Sync for DeploymentNote
impl Unpin for DeploymentNote
impl UnsafeUnpin for DeploymentNote
impl UnwindSafe for DeploymentNote
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