pub struct CreateData {
pub name: String,
pub created_at: DateTime<Utc>,
}Expand description
Type that represents the <creData> tag for host create response
Fields§
§name: StringThe host name
created_at: DateTime<Utc>The host creation date
Trait Implementations§
Source§impl Debug for CreateData
impl Debug for CreateData
Source§impl<'xml> FromXml<'xml> for CreateData
impl<'xml> FromXml<'xml> for CreateData
Source§type Accumulator = Option<CreateData>
type Accumulator = Option<CreateData>
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 Freeze for CreateData
impl RefUnwindSafe for CreateData
impl Send for CreateData
impl Sync for CreateData
impl Unpin for CreateData
impl UnsafeUnpin for CreateData
impl UnwindSafe for CreateData
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