pub struct ProviderAccount {Show 14 fields
pub id: Option<i32>,
pub url: Option<String>,
pub display_url: Option<String>,
pub display: Option<String>,
pub provider: Box<BriefProvider>,
pub name: Option<String>,
pub account: String,
pub description: Option<String>,
pub owner: Option<Option<Box<BriefOwner>>>,
pub comments: Option<String>,
pub tags: Option<Vec<NestedTag>>,
pub custom_fields: Option<HashMap<String, Value>>,
pub created: Option<Option<String>>,
pub last_updated: Option<Option<String>>,
}Expand description
ProviderAccount : Base serializer class for models inheriting from PrimaryModel.
Fields§
§id: Option<i32>§url: Option<String>§display_url: Option<String>§display: Option<String>§provider: Box<BriefProvider>§name: Option<String>§account: String§description: Option<String>§owner: Option<Option<Box<BriefOwner>>>§comments: Option<String>§custom_fields: Option<HashMap<String, Value>>§created: Option<Option<String>>§last_updated: Option<Option<String>>Implementations§
Source§impl ProviderAccount
impl ProviderAccount
Sourcepub fn new(provider: BriefProvider, account: String) -> ProviderAccount
pub fn new(provider: BriefProvider, account: String) -> ProviderAccount
Base serializer class for models inheriting from PrimaryModel.
Trait Implementations§
Source§impl Clone for ProviderAccount
impl Clone for ProviderAccount
Source§fn clone(&self) -> ProviderAccount
fn clone(&self) -> ProviderAccount
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 ProviderAccount
impl Debug for ProviderAccount
Source§impl Default for ProviderAccount
impl Default for ProviderAccount
Source§fn default() -> ProviderAccount
fn default() -> ProviderAccount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderAccount
impl<'de> Deserialize<'de> for ProviderAccount
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 ProviderAccount
impl PartialEq for ProviderAccount
Source§fn eq(&self, other: &ProviderAccount) -> bool
fn eq(&self, other: &ProviderAccount) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderAccount
impl Serialize for ProviderAccount
impl StructuralPartialEq for ProviderAccount
Auto Trait Implementations§
impl Freeze for ProviderAccount
impl RefUnwindSafe for ProviderAccount
impl Send for ProviderAccount
impl Sync for ProviderAccount
impl Unpin for ProviderAccount
impl UnsafeUnpin for ProviderAccount
impl UnwindSafe for ProviderAccount
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