pub struct SourceProviderAttributes {
pub name: Option<String>,
pub supported_capabilities: Option<Value>,
pub supported_triggers: Vec<SupportedTrigger>,
}Fields§
§name: Option<String>The name of the source provider.
supported_capabilities: Option<Value>The capabilities supported by this source provider.
supported_triggers: Vec<SupportedTrigger>The types of triggers supported by this source provider.
Implementations§
Trait Implementations§
Source§impl Clone for SourceProviderAttributes
impl Clone for SourceProviderAttributes
Source§fn clone(&self) -> SourceProviderAttributes
fn clone(&self) -> SourceProviderAttributes
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 SourceProviderAttributes
impl Debug for SourceProviderAttributes
Source§impl Default for SourceProviderAttributes
impl Default for SourceProviderAttributes
Source§fn default() -> SourceProviderAttributes
fn default() -> SourceProviderAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SourceProviderAttributes
impl<'de> Deserialize<'de> for SourceProviderAttributes
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 SourceProviderAttributes
impl PartialEq for SourceProviderAttributes
Source§impl Serialize for SourceProviderAttributes
impl Serialize for SourceProviderAttributes
impl StructuralPartialEq for SourceProviderAttributes
Auto Trait Implementations§
impl Freeze for SourceProviderAttributes
impl RefUnwindSafe for SourceProviderAttributes
impl Send for SourceProviderAttributes
impl Sync for SourceProviderAttributes
impl Unpin for SourceProviderAttributes
impl UnwindSafe for SourceProviderAttributes
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