#[non_exhaustive]pub struct PlacementDescription {
pub project_name: String,
pub placement_name: String,
pub attributes: HashMap<String, String>,
pub created_date: DateTime,
pub updated_date: 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: StringThe name of the project containing the placement.
placement_name: StringThe name of the placement.
attributes: HashMap<String, String>The user-defined attributes associated with the placement.
created_date: DateTimeThe date when the placement was initially created, in UNIX epoch time format.
updated_date: DateTimeThe 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) -> &str
pub fn project_name(&self) -> &str
The name of the project containing the placement.
sourcepub fn placement_name(&self) -> &str
pub fn placement_name(&self) -> &str
The name of the placement.
sourcepub fn attributes(&self) -> &HashMap<String, String>
pub fn attributes(&self) -> &HashMap<String, String>
The user-defined attributes associated with the placement.
sourcepub fn created_date(&self) -> &DateTime
pub fn created_date(&self) -> &DateTime
The date when the placement was initially created, in UNIX epoch time format.
sourcepub fn updated_date(&self) -> &DateTime
pub fn updated_date(&self) -> &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 for PlacementDescription
impl PartialEq 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 ==.