pub struct ProviderModel {
pub id: String,
pub display_name: Option<String>,
pub aliases: Vec<String>,
pub protocols: Vec<WireProtocol>,
pub defaults: ProviderDefaults,
pub capabilities: ModelCapabilities,
pub extensions: Extensions,
}Fields§
§id: String§display_name: Option<String>§aliases: Vec<String>§protocols: Vec<WireProtocol>§defaults: ProviderDefaults§capabilities: ModelCapabilities§extensions: ExtensionsTrait Implementations§
Source§impl Clone for ProviderModel
impl Clone for ProviderModel
Source§fn clone(&self) -> ProviderModel
fn clone(&self) -> ProviderModel
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 ProviderModel
impl Debug for ProviderModel
Source§impl<'de> Deserialize<'de> for ProviderModel
impl<'de> Deserialize<'de> for ProviderModel
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 ProviderModel
impl PartialEq for ProviderModel
Source§fn eq(&self, other: &ProviderModel) -> bool
fn eq(&self, other: &ProviderModel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderModel
impl Serialize for ProviderModel
impl StructuralPartialEq for ProviderModel
Auto Trait Implementations§
impl Freeze for ProviderModel
impl RefUnwindSafe for ProviderModel
impl Send for ProviderModel
impl Sync for ProviderModel
impl Unpin for ProviderModel
impl UnsafeUnpin for ProviderModel
impl UnwindSafe for ProviderModel
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