pub struct ChannelMetadata {
pub id: String,
pub display_name: String,
pub provider_family: Provider,
pub credential_family: CredentialFamily,
pub login_modes: Vec<LoginMode>,
pub settings_fields: Vec<ChannelSettingField>,
pub secret_template: Value,
pub endpoint_kinds: Vec<String>,
pub usage: bool,
}Fields§
§id: String§display_name: String§provider_family: Provider§credential_family: CredentialFamily§login_modes: Vec<LoginMode>§settings_fields: Vec<ChannelSettingField>§secret_template: Value§endpoint_kinds: Vec<String>§usage: boolImplementations§
Trait Implementations§
Source§impl Clone for ChannelMetadata
impl Clone for ChannelMetadata
Source§fn clone(&self) -> ChannelMetadata
fn clone(&self) -> ChannelMetadata
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 ChannelMetadata
impl Debug for ChannelMetadata
Source§impl<'de> Deserialize<'de> for ChannelMetadata
impl<'de> Deserialize<'de> for ChannelMetadata
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 ChannelMetadata
impl RefUnwindSafe for ChannelMetadata
impl Send for ChannelMetadata
impl Sync for ChannelMetadata
impl Unpin for ChannelMetadata
impl UnsafeUnpin for ChannelMetadata
impl UnwindSafe for ChannelMetadata
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