pub struct ApiNamedField {
pub ident: String,
pub name: Option<String>,
pub prop: Option<ParsedApiDocAttr>,
pub option: bool,
pub ty: ApiTy,
pub constraint: Vec<ConstraintType>,
pub serde: Vec<ParsedSerdeAttr>,
}
Fields§
§ident: String
§name: Option<String>
§prop: Option<ParsedApiDocAttr>
§option: bool
§ty: ApiTy
§constraint: Vec<ConstraintType>
§serde: Vec<ParsedSerdeAttr>
Trait Implementations§
Source§impl Clone for ApiNamedField
impl Clone for ApiNamedField
Source§fn clone(&self) -> ApiNamedField
fn clone(&self) -> ApiNamedField
Returns a copy 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 ApiNamedField
impl Debug for ApiNamedField
Source§impl<'de> Deserialize<'de> for ApiNamedField
impl<'de> Deserialize<'de> for ApiNamedField
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 ApiNamedField
impl PartialEq for ApiNamedField
Source§impl Serialize for ApiNamedField
impl Serialize for ApiNamedField
impl StructuralPartialEq for ApiNamedField
Auto Trait Implementations§
impl Freeze for ApiNamedField
impl RefUnwindSafe for ApiNamedField
impl Send for ApiNamedField
impl Sync for ApiNamedField
impl Unpin for ApiNamedField
impl UnwindSafe for ApiNamedField
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