#[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§
source§impl 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.
source§impl PlacementDescription
impl PlacementDescription
sourcepub fn builder() -> PlacementDescriptionBuilder
pub fn builder() -> PlacementDescriptionBuilder
Creates a new builder-style object to manufacture PlacementDescription.
Trait Implementations§
source§impl Clone for PlacementDescription
impl Clone for PlacementDescription
source§fn clone(&self) -> PlacementDescription
fn clone(&self) -> PlacementDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PlacementDescription
impl Debug for PlacementDescription
source§impl PartialEq<PlacementDescription> for PlacementDescription
impl PartialEq<PlacementDescription> for PlacementDescription
source§fn eq(&self, other: &PlacementDescription) -> bool
fn eq(&self, other: &PlacementDescription) -> bool
self and other values to be equal, and is used
by ==.