pub struct ProvidersAttributes {
pub name: String,
}Fields§
§name: StringProvider name
Implementations§
Source§impl ProvidersAttributes
impl ProvidersAttributes
pub fn new(name: String) -> ProvidersAttributes
Trait Implementations§
Source§impl Clone for ProvidersAttributes
impl Clone for ProvidersAttributes
Source§fn clone(&self) -> ProvidersAttributes
fn clone(&self) -> ProvidersAttributes
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 ProvidersAttributes
impl Debug for ProvidersAttributes
Source§impl Default for ProvidersAttributes
impl Default for ProvidersAttributes
Source§fn default() -> ProvidersAttributes
fn default() -> ProvidersAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProvidersAttributeswhere
ProvidersAttributes: Default,
impl<'de> Deserialize<'de> for ProvidersAttributeswhere
ProvidersAttributes: Default,
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 ProvidersAttributes
impl PartialEq for ProvidersAttributes
Source§impl Serialize for ProvidersAttributes
impl Serialize for ProvidersAttributes
impl StructuralPartialEq for ProvidersAttributes
Auto Trait Implementations§
impl Freeze for ProvidersAttributes
impl RefUnwindSafe for ProvidersAttributes
impl Send for ProvidersAttributes
impl Sync for ProvidersAttributes
impl Unpin for ProvidersAttributes
impl UnwindSafe for ProvidersAttributes
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