pub struct BackendAdapterPolicy {
pub adapter_id: Option<String>,
pub required: bool,
}Expand description
Adapter policy for backend requests.
Fields§
§adapter_id: Option<String>Explicit adapter ID (authority from outside)
required: boolWhether adapter is required (fail if not available)
Trait Implementations§
Source§impl Clone for BackendAdapterPolicy
impl Clone for BackendAdapterPolicy
Source§fn clone(&self) -> BackendAdapterPolicy
fn clone(&self) -> BackendAdapterPolicy
Returns a duplicate of the value. Read more
1.0.0 · 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 BackendAdapterPolicy
impl Debug for BackendAdapterPolicy
Source§impl Default for BackendAdapterPolicy
impl Default for BackendAdapterPolicy
Source§impl<'de> Deserialize<'de> for BackendAdapterPolicy
impl<'de> Deserialize<'de> for BackendAdapterPolicy
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
Auto Trait Implementations§
impl Freeze for BackendAdapterPolicy
impl RefUnwindSafe for BackendAdapterPolicy
impl Send for BackendAdapterPolicy
impl Sync for BackendAdapterPolicy
impl Unpin for BackendAdapterPolicy
impl UnwindSafe for BackendAdapterPolicy
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