pub struct Connector {Show 15 fields
pub id: String,
pub name: String,
pub display_name: String,
pub description: String,
pub connector_type: ConnectorType,
pub platform: ConnectorPlatform,
pub namespace: Option<String>,
pub category_id: Option<String>,
pub icon: String,
pub published: bool,
pub approved: bool,
pub created_at: DateTime<FixedOffset>,
pub updated_at: DateTime<FixedOffset>,
pub metadata: Option<PluginMetadata>,
pub tags: Option<Vec<String>>,
}Expand description
#[derive(PartialEq, Eq, Serialize, Deserialize, Clone, Debug)]
§Connector
Struct representing a connector.
§Fields
id: Unique identifier of a schema.name: Name of the schema.display_name: Display name of the schema.description: Description of the schema.connector_type: Connector type of the schema.platform: Platform of the schema.namespace: Optional human-readable identity of a schema.category_id: Optional human-readable identity of a category.icon: Icon of the schema.published: Flag indicating if the schema is published.approved: Flag indicating if the schema is approved.created_at: Date the entity was created.updated_at: Date the entity was updated.metadata: Optional metadata associated with the plugin.operations: List of operations supported by the connector.tags: Optional list of tags associated with the connector.file_url: Optional URL of the connector’s file.file_hash: Optional hash value of the connector’s file.
Fields§
§id: StringUnique identifier of a schema
name: StringName of the the schema
display_name: StringName of the the schema
description: StringName of the the schema
connector_type: ConnectorTypeConnectorType of the the schema
platform: ConnectorPlatformConnectorType of the the schema
namespace: Option<String>Human readable identity of a schema
category_id: Option<String>Human readable identity of a category
icon: String§published: bool§approved: bool§created_at: DateTime<FixedOffset>Date the entity was created
updated_at: DateTime<FixedOffset>Date the entity was updated
metadata: Option<PluginMetadata>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Connector
impl<'de> Deserialize<'de> for Connector
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
impl Eq for Connector
impl StructuralPartialEq for Connector
Auto Trait Implementations§
impl Freeze for Connector
impl RefUnwindSafe for Connector
impl Send for Connector
impl Sync for Connector
impl Unpin for Connector
impl UnwindSafe for Connector
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more