#[non_exhaustive]pub struct PlacementDescription {
pub project_name: Option<String>,
pub placement_name: Option<String>,
pub attributes: Option<HashMap<String, String>>,
pub created_date: Option<DateTime>,
pub updated_date: Option<DateTime>,
}
Expand description
An object describing a project's placement.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.project_name: Option<String>
The name of the project containing the placement.
placement_name: Option<String>
The name of the placement.
attributes: Option<HashMap<String, String>>
The user-defined attributes associated with the placement.
created_date: Option<DateTime>
The date when the placement was initially created, in UNIX epoch time format.
updated_date: Option<DateTime>
The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate
and updatedDate
are the same.
Implementations
sourceimpl PlacementDescription
impl PlacementDescription
sourcepub fn project_name(&self) -> Option<&str>
pub fn project_name(&self) -> Option<&str>
The name of the project containing the placement.
sourcepub fn placement_name(&self) -> Option<&str>
pub fn placement_name(&self) -> Option<&str>
The name of the placement.
sourcepub fn attributes(&self) -> Option<&HashMap<String, String>>
pub fn attributes(&self) -> Option<&HashMap<String, String>>
The user-defined attributes associated with the placement.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date when the placement was initially created, in UNIX epoch time format.
sourcepub fn updated_date(&self) -> Option<&DateTime>
pub fn updated_date(&self) -> Option<&DateTime>
The date when the placement was last updated, in UNIX epoch time format. If the placement was not updated, then createdDate
and updatedDate
are the same.
sourceimpl PlacementDescription
impl PlacementDescription
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PlacementDescription
Trait Implementations
sourceimpl Clone for PlacementDescription
impl Clone for PlacementDescription
sourcefn clone(&self) -> PlacementDescription
fn clone(&self) -> PlacementDescription
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PlacementDescription
impl Debug for PlacementDescription
sourceimpl PartialEq<PlacementDescription> for PlacementDescription
impl PartialEq<PlacementDescription> for PlacementDescription
sourcefn eq(&self, other: &PlacementDescription) -> bool
fn eq(&self, other: &PlacementDescription) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PlacementDescription) -> bool
fn ne(&self, other: &PlacementDescription) -> bool
This method tests for !=
.
impl StructuralPartialEq for PlacementDescription
Auto Trait Implementations
impl RefUnwindSafe for PlacementDescription
impl Send for PlacementDescription
impl Sync for PlacementDescription
impl Unpin for PlacementDescription
impl UnwindSafe for PlacementDescription
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more