Struct statehub_api::v0::State [−][src]
pub struct State {
pub id: Uuid,
pub name: StateName,
pub created: DateTime<Utc>,
pub modified: DateTime<Utc>,
pub storage_class: Option<StorageClass>,
pub locations: StateLocations,
pub owner: Option<ClusterName>,
pub provisioning_status: ProvisioningStatus,
pub allowed_clusters: Option<Vec<ClusterName>>,
pub condition: Condition,
}
Fields
id: Uuid
name: StateName
created: DateTime<Utc>
modified: DateTime<Utc>
storage_class: Option<StorageClass>
locations: StateLocations
owner: Option<ClusterName>
provisioning_status: ProvisioningStatus
allowed_clusters: Option<Vec<ClusterName>>
condition: Condition
Implementations
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for State
impl UnwindSafe for State
Blanket Implementations
Mutably borrows from an owned value. Read more