pub struct MlCreate {
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub spec: Option<Option<Value>>,
}Fields§
§labels: Option<HashMap<String, String>>Labels are extra labels to set on the object, merged UNDER the tenancy labels this plane derives from the validated principal — so a label naming another org’s scope cannot displace the real one.
name: Option<String>Name is the resource’s name: a DNS-1123 label (^a-z0-9?$), lowercased and trimmed. It is the name the resource answers to for the life of the caller’s org.
spec: Option<Option<Value>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MlCreate
impl<'de> Deserialize<'de> for MlCreate
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
impl StructuralPartialEq for MlCreate
Auto Trait Implementations§
impl Freeze for MlCreate
impl RefUnwindSafe for MlCreate
impl Send for MlCreate
impl Sync for MlCreate
impl Unpin for MlCreate
impl UnsafeUnpin for MlCreate
impl UnwindSafe for MlCreate
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