pub struct ModelStorageBindingStatus {Show 14 fields
pub state: ModelStorageBindingState,
pub deletion_policy: ModelStorageBindingDeletionPolicy,
pub model: Option<ModelSpec>,
pub model_name: Option<String>,
pub resources: Option<ResourceRequirements>,
pub storage_source: Option<ModelStorageSpec>,
pub storage_source_binding_name: Option<String>,
pub storage_source_name: Option<String>,
pub storage_source_uid: Option<String>,
pub storage_sync_policy: Option<ModelStorageBindingSyncPolicy>,
pub storage_target: Option<ModelStorageSpec>,
pub storage_target_name: Option<String>,
pub storage_target_uid: Option<String>,
pub last_updated: DateTime<Utc>,
}
Fields§
§state: ModelStorageBindingState
§deletion_policy: ModelStorageBindingDeletionPolicy
§model: Option<ModelSpec>
§model_name: Option<String>
§resources: Option<ResourceRequirements>
§storage_source: Option<ModelStorageSpec>
§storage_source_binding_name: Option<String>
§storage_source_name: Option<String>
§storage_source_uid: Option<String>
§storage_sync_policy: Option<ModelStorageBindingSyncPolicy>
§storage_target: Option<ModelStorageSpec>
§storage_target_name: Option<String>
§storage_target_uid: Option<String>
§last_updated: DateTime<Utc>
Trait Implementations§
Source§impl Clone for ModelStorageBindingStatus
impl Clone for ModelStorageBindingStatus
Source§fn clone(&self) -> ModelStorageBindingStatus
fn clone(&self) -> ModelStorageBindingStatus
Returns a copy 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 ModelStorageBindingStatus
impl Debug for ModelStorageBindingStatus
Source§impl<'de> Deserialize<'de> for ModelStorageBindingStatus
impl<'de> Deserialize<'de> for ModelStorageBindingStatus
Source§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
Source§impl JsonSchema for ModelStorageBindingStatus
impl JsonSchema for ModelStorageBindingStatus
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moreimpl StructuralPartialEq for ModelStorageBindingStatus
Auto Trait Implementations§
impl Freeze for ModelStorageBindingStatus
impl RefUnwindSafe for ModelStorageBindingStatus
impl Send for ModelStorageBindingStatus
impl Sync for ModelStorageBindingStatus
impl Unpin for ModelStorageBindingStatus
impl UnwindSafe for ModelStorageBindingStatus
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