pub struct EnablementOptRef {
pub id: Option<String>,
pub kind: Option<String>,
}Fields§
§id: Option<String>ID is the item within that namespace.
kind: Option<String>Kind is the item’s namespace: "model", "provider" or "feature".
Implementations§
Source§impl EnablementOptRef
impl EnablementOptRef
pub fn new() -> EnablementOptRef
Trait Implementations§
Source§impl Clone for EnablementOptRef
impl Clone for EnablementOptRef
Source§fn clone(&self) -> EnablementOptRef
fn clone(&self) -> EnablementOptRef
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EnablementOptRef
impl Debug for EnablementOptRef
Source§impl Default for EnablementOptRef
impl Default for EnablementOptRef
Source§fn default() -> EnablementOptRef
fn default() -> EnablementOptRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnablementOptRef
impl<'de> Deserialize<'de> for EnablementOptRef
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 PartialEq for EnablementOptRef
impl PartialEq for EnablementOptRef
Source§impl Serialize for EnablementOptRef
impl Serialize for EnablementOptRef
impl StructuralPartialEq for EnablementOptRef
Auto Trait Implementations§
impl Freeze for EnablementOptRef
impl RefUnwindSafe for EnablementOptRef
impl Send for EnablementOptRef
impl Sync for EnablementOptRef
impl Unpin for EnablementOptRef
impl UnsafeUnpin for EnablementOptRef
impl UnwindSafe for EnablementOptRef
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