pub struct ActivityOptionsError {
pub kind: ActivityOptionsErrorKind,
pub field: Option<&'static str>,
pub message: String,
}Expand description
A machine-readable activity-options validation failure.
Fields§
§kind: ActivityOptionsErrorKind§field: Option<&'static str>§message: StringTrait Implementations§
Source§impl Clone for ActivityOptionsError
impl Clone for ActivityOptionsError
Source§fn clone(&self) -> ActivityOptionsError
fn clone(&self) -> ActivityOptionsError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActivityOptionsError
impl Debug for ActivityOptionsError
Source§impl Display for ActivityOptionsError
impl Display for ActivityOptionsError
impl Eq for ActivityOptionsError
Source§impl Error for ActivityOptionsError
impl Error for ActivityOptionsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ActivityOptionsError
impl PartialEq for ActivityOptionsError
impl StructuralPartialEq for ActivityOptionsError
Auto Trait Implementations§
impl Freeze for ActivityOptionsError
impl RefUnwindSafe for ActivityOptionsError
impl Send for ActivityOptionsError
impl Sync for ActivityOptionsError
impl Unpin for ActivityOptionsError
impl UnsafeUnpin for ActivityOptionsError
impl UnwindSafe for ActivityOptionsError
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