pub struct CredentialField {
pub name: Ident,
pub type_ann: TypeAnnotation,
pub span: Span,
}Expand description
A credential field: api_key: string
Fields§
§name: Ident§type_ann: TypeAnnotation§span: SpanTrait Implementations§
Source§impl Clone for CredentialField
impl Clone for CredentialField
Source§fn clone(&self) -> CredentialField
fn clone(&self) -> CredentialField
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 CredentialField
impl Debug for CredentialField
Source§impl<'de> Deserialize<'de> for CredentialField
impl<'de> Deserialize<'de> for CredentialField
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 CredentialField
impl PartialEq for CredentialField
Source§impl Serialize for CredentialField
impl Serialize for CredentialField
impl StructuralPartialEq for CredentialField
Auto Trait Implementations§
impl Freeze for CredentialField
impl RefUnwindSafe for CredentialField
impl Send for CredentialField
impl Sync for CredentialField
impl Unpin for CredentialField
impl UnwindSafe for CredentialField
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