pub struct AccountTarget {
pub provider_id: String,
pub account_id: String,
pub label: Option<String>,
pub explicit: bool,
}Expand description
One unit of fetch work: a single account of a provider.
Fields§
§provider_id: StringProvider this account belongs to.
account_id: StringAccount name ("default" for the implicit single account).
label: Option<String>Human-friendly label, when configured.
explicit: boolWhether the account is explicitly configured (vs. the implicit default).
Trait Implementations§
Source§impl Clone for AccountTarget
impl Clone for AccountTarget
Source§fn clone(&self) -> AccountTarget
fn clone(&self) -> AccountTarget
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 AccountTarget
impl Debug for AccountTarget
impl Eq for AccountTarget
Source§impl PartialEq for AccountTarget
impl PartialEq for AccountTarget
impl StructuralPartialEq for AccountTarget
Auto Trait Implementations§
impl Freeze for AccountTarget
impl RefUnwindSafe for AccountTarget
impl Send for AccountTarget
impl Sync for AccountTarget
impl Unpin for AccountTarget
impl UnsafeUnpin for AccountTarget
impl UnwindSafe for AccountTarget
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.