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>
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<Create<T>>
fn matches(id: Id<'_>, field: Option<Id<'_>>) -> bool
fn deserialize<'cx>( into: &mut Self::Accumulator, field: &'static str, deserializer: &mut Deserializer<'cx, 'xml>, ) -> Result<(), Error>
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> 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