pub struct Reason(pub String);
Expand description
A reason for inviting, declining, etc. a request.
Tuple Fields§
§0: String
Trait Implementations§
Source§impl TryFrom<Element> for Reason
impl TryFrom<Element> for Reason
Source§type Error = FromElementError
type Error = FromElementError
The type returned in the event of a conversion error.
impl Eq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnwindSafe for Reason
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