pub struct ServicesCapability {
pub is_supported: Option<bool>,
pub operational_configuration: Option<Box<OperationalConfiguration>>,
}Expand description
ServicesCapability : The services capability of a supply source.
Fields§
§is_supported: Option<bool>When true, SupplySource supports the Service capability.
operational_configuration: Option<Box<OperationalConfiguration>>Implementations§
Source§impl ServicesCapability
impl ServicesCapability
Sourcepub fn new() -> ServicesCapability
pub fn new() -> ServicesCapability
The services capability of a supply source.
Trait Implementations§
Source§impl Clone for ServicesCapability
impl Clone for ServicesCapability
Source§fn clone(&self) -> ServicesCapability
fn clone(&self) -> ServicesCapability
Returns a duplicate 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 ServicesCapability
impl Debug for ServicesCapability
Source§impl Default for ServicesCapability
impl Default for ServicesCapability
Source§fn default() -> ServicesCapability
fn default() -> ServicesCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServicesCapability
impl<'de> Deserialize<'de> for ServicesCapability
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 ServicesCapability
impl PartialEq for ServicesCapability
Source§impl Serialize for ServicesCapability
impl Serialize for ServicesCapability
impl StructuralPartialEq for ServicesCapability
Auto Trait Implementations§
impl Freeze for ServicesCapability
impl RefUnwindSafe for ServicesCapability
impl Send for ServicesCapability
impl Sync for ServicesCapability
impl Unpin for ServicesCapability
impl UnsafeUnpin for ServicesCapability
impl UnwindSafe for ServicesCapability
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