pub struct FamilyRecipe {
pub npm: &'static str,
pub family: FamilyKind,
pub default_endpoint: Option<&'static str>,
pub default_auth_method: &'static str,
pub allowed_auth_methods: &'static [&'static str],
}Fields§
§npm: &'static str§family: FamilyKind§default_endpoint: Option<&'static str>§default_auth_method: &'static str§allowed_auth_methods: &'static [&'static str]Trait Implementations§
Source§impl Clone for FamilyRecipe
impl Clone for FamilyRecipe
Source§fn clone(&self) -> FamilyRecipe
fn clone(&self) -> FamilyRecipe
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 FamilyRecipe
Source§impl Debug for FamilyRecipe
impl Debug for FamilyRecipe
impl Eq for FamilyRecipe
Source§impl PartialEq for FamilyRecipe
impl PartialEq for FamilyRecipe
Source§fn eq(&self, other: &FamilyRecipe) -> bool
fn eq(&self, other: &FamilyRecipe) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FamilyRecipe
impl Serialize for FamilyRecipe
impl StructuralPartialEq for FamilyRecipe
Auto Trait Implementations§
impl Freeze for FamilyRecipe
impl RefUnwindSafe for FamilyRecipe
impl Send for FamilyRecipe
impl Sync for FamilyRecipe
impl Unpin for FamilyRecipe
impl UnsafeUnpin for FamilyRecipe
impl UnwindSafe for FamilyRecipe
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