pub struct Create<T> {
pub data: T,
}Fields§
§data: TTrait Implementations§
Source§impl<'xml, T: FromXml<'xml>> FromXml<'xml> for Create<T>
impl<'xml, T: FromXml<'xml>> FromXml<'xml> for Create<T>
Source§type Accumulator = Option<Create<T>>
type Accumulator = Option<Create<T>>
The accumulator type used during deserialization
Source§fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
Check if an element or attribute matches this type
Source§fn deserialize<'cx>(
into: &mut Self::Accumulator,
field: &'static str,
deserializer: &mut Deserializer<'cx, 'xml>,
) -> Result<(), Error>
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
Deserialize from XML into an accumulator
Auto Trait Implementations§
impl<T> Freeze for Create<T>where
T: Freeze,
impl<T> RefUnwindSafe for Create<T>where
T: RefUnwindSafe,
impl<T> Send for Create<T>where
T: Send,
impl<T> Sync for Create<T>where
T: Sync,
impl<T> Unpin for Create<T>where
T: Unpin,
impl<T> UnsafeUnpin for Create<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Create<T>where
T: UnwindSafe,
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