pub struct BackendDefault {
pub name: &'static str,
pub url: &'static str,
pub probe: &'static str,
pub auth_token: &'static str,
}Fields§
§name: &'static str§url: &'static str§probe: &'static str§auth_token: &'static strImplementations§
Source§impl BackendDefault
impl BackendDefault
pub fn to_backend(self) -> Backend
Trait Implementations§
Source§impl Clone for BackendDefault
impl Clone for BackendDefault
Source§fn clone(&self) -> BackendDefault
fn clone(&self) -> BackendDefault
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 moreimpl Copy for BackendDefault
Source§impl Debug for BackendDefault
impl Debug for BackendDefault
impl Eq for BackendDefault
Source§impl PartialEq for BackendDefault
impl PartialEq for BackendDefault
Source§fn eq(&self, other: &BackendDefault) -> bool
fn eq(&self, other: &BackendDefault) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BackendDefault
Auto Trait Implementations§
impl Freeze for BackendDefault
impl RefUnwindSafe for BackendDefault
impl Send for BackendDefault
impl Sync for BackendDefault
impl Unpin for BackendDefault
impl UnsafeUnpin for BackendDefault
impl UnwindSafe for BackendDefault
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.