Struct serde_derive_internals::attr::Variant
[−]
[src]
pub struct Variant { /* fields omitted */ }
Represents variant attribute information
pub struct Variant { /* fields omitted */ }
Represents variant attribute information
impl Variant
[src]pub fn from_ast(cx: &Ctxt, variant: &Variant) -> Self
[src]pub fn name(&self) -> &Name
[src]pub fn rename_by_rule(&mut self, rule: &RenameRule)
[src]pub fn rename_all(&self) -> &RenameRule
[src]pub fn skip_deserializing(&self) -> bool
[src]pub fn skip_serializing(&self) -> bool
[src]pub fn other(&self) -> bool
[src]pub fn serialize_with(&self) -> Option<&ExprPath>
[src]pub fn deserialize_with(&self) -> Option<&ExprPath>
[src]