pub struct Record<'a> {
pub name: &'a str,
pub namespace: Option<&'a str>,
pub doc: Option<&'a str>,
pub aliases: Vec<&'a str>,
pub fields: Vec<Field<'a>>,
pub attributes: Attributes<'a>,
}
Expand description
Fields§
§name: &'a str
§namespace: Option<&'a str>
§doc: Option<&'a str>
§aliases: Vec<&'a str>
§fields: Vec<Field<'a>>
§attributes: Attributes<'a>
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Record<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Record<'a>
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
impl<'a> Eq for Record<'a>
impl<'a> StructuralPartialEq for Record<'a>
Auto Trait Implementations§
impl<'a> Freeze for Record<'a>
impl<'a> RefUnwindSafe for Record<'a>
impl<'a> Send for Record<'a>
impl<'a> Sync for Record<'a>
impl<'a> Unpin for Record<'a>
impl<'a> UnwindSafe for Record<'a>
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