pub struct GfbioCollectionsDataProviderDefinition {
pub abcd_db_config: Box<DatabaseConnectionConfig>,
pub cache_ttl: Option<i32>,
pub collection_api_auth_token: String,
pub collection_api_url: String,
pub description: String,
pub name: String,
pub pangaea_url: String,
pub priority: Option<Option<i32>>,
pub type: Type,
}Fields§
§abcd_db_config: Box<DatabaseConnectionConfig>§cache_ttl: Option<i32>§collection_api_auth_token: String§collection_api_url: String§description: String§name: String§pangaea_url: String§priority: Option<Option<i32>>§type: TypeImplementations§
Source§impl GfbioCollectionsDataProviderDefinition
impl GfbioCollectionsDataProviderDefinition
pub fn new( abcd_db_config: DatabaseConnectionConfig, collection_api_auth_token: String, collection_api_url: String, description: String, name: String, pangaea_url: String, type: Type, ) -> GfbioCollectionsDataProviderDefinition
Trait Implementations§
Source§impl Clone for GfbioCollectionsDataProviderDefinition
impl Clone for GfbioCollectionsDataProviderDefinition
Source§fn clone(&self) -> GfbioCollectionsDataProviderDefinition
fn clone(&self) -> GfbioCollectionsDataProviderDefinition
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 Default for GfbioCollectionsDataProviderDefinition
impl Default for GfbioCollectionsDataProviderDefinition
Source§fn default() -> GfbioCollectionsDataProviderDefinition
fn default() -> GfbioCollectionsDataProviderDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GfbioCollectionsDataProviderDefinition
impl<'de> Deserialize<'de> for GfbioCollectionsDataProviderDefinition
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 GfbioCollectionsDataProviderDefinition
impl PartialEq for GfbioCollectionsDataProviderDefinition
Source§fn eq(&self, other: &GfbioCollectionsDataProviderDefinition) -> bool
fn eq(&self, other: &GfbioCollectionsDataProviderDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GfbioCollectionsDataProviderDefinition
Auto Trait Implementations§
impl Freeze for GfbioCollectionsDataProviderDefinition
impl RefUnwindSafe for GfbioCollectionsDataProviderDefinition
impl Send for GfbioCollectionsDataProviderDefinition
impl Sync for GfbioCollectionsDataProviderDefinition
impl Unpin for GfbioCollectionsDataProviderDefinition
impl UnsafeUnpin for GfbioCollectionsDataProviderDefinition
impl UnwindSafe for GfbioCollectionsDataProviderDefinition
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