pub struct ComponentOption {
pub is_default: Option<bool>,
pub paid: Option<PaidPricing>,
pub parent_services: Vec<String>,
pub kind: ComponentOptionKind,
pub extra: BTreeMap<String, Value>,
}Fields§
§is_default: Option<bool>§paid: Option<PaidPricing>§parent_services: Vec<String>§kind: ComponentOptionKind§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for ComponentOption
impl Clone for ComponentOption
Source§fn clone(&self) -> ComponentOption
fn clone(&self) -> ComponentOption
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 ComponentOption
impl Debug for ComponentOption
Source§impl<'de> Deserialize<'de> for ComponentOption
impl<'de> Deserialize<'de> for ComponentOption
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
Auto Trait Implementations§
impl Freeze for ComponentOption
impl RefUnwindSafe for ComponentOption
impl Send for ComponentOption
impl Sync for ComponentOption
impl Unpin for ComponentOption
impl UnsafeUnpin for ComponentOption
impl UnwindSafe for ComponentOption
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