pub struct PluginInformation {
pub name: String,
pub capabilities: Vec<PluginType>,
pub publisher: String,
pub description: String,
pub credential_kind: Option<CredentialType>,
pub oauth_url: Option<String>,
pub version: u16,
pub settings: Vec<CustomParam>,
pub interface_version: u16,
}
Fields§
§name: String
§capabilities: Vec<PluginType>
§publisher: String
§description: String
§credential_kind: Option<CredentialType>
§oauth_url: Option<String>
§version: u16
§settings: Vec<CustomParam>
§interface_version: u16
Implementations§
Source§impl PluginInformation
impl PluginInformation
pub fn capabilities_tostring(&self) -> String
Trait Implementations§
Source§impl Clone for PluginInformation
impl Clone for PluginInformation
Source§fn clone(&self) -> PluginInformation
fn clone(&self) -> PluginInformation
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 PluginInformation
impl Debug for PluginInformation
Source§impl Default for PluginInformation
impl Default for PluginInformation
Source§fn default() -> PluginInformation
fn default() -> PluginInformation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginInformation
impl<'de> Deserialize<'de> for PluginInformation
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 PluginInformation
impl PartialEq for PluginInformation
Source§impl Serialize for PluginInformation
impl Serialize for PluginInformation
impl StructuralPartialEq for PluginInformation
Auto Trait Implementations§
impl Freeze for PluginInformation
impl RefUnwindSafe for PluginInformation
impl Send for PluginInformation
impl Sync for PluginInformation
impl Unpin for PluginInformation
impl UnwindSafe for PluginInformation
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