pub struct Status(pub StatusCode);
Expand description
The status
XML element as defined in RFC 4918.
Tuple Fields§
§0: StatusCode
Trait Implementations§
Source§impl Element for Status
impl Element for Status
Source§const LOCAL_NAME: &'static str = "status"
const LOCAL_NAME: &'static str = "status"
The local name of the element (the name inside the namespace), e.g.
multistatus
Source§impl From<StatusCode> for Status
impl From<StatusCode> for Status
Source§fn from(code: StatusCode) -> Self
fn from(code: StatusCode) -> Self
Converts to this type from the input type.
impl Copy for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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