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: String
The 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
const KIND: Kind = ::instant_xml::Kind::Element
type Accumulator = Option<CreateData>
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 Freeze for CreateData
impl RefUnwindSafe for CreateData
impl Send for CreateData
impl Sync for CreateData
impl Unpin 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