pub struct ExactlyOne {
pub path: String,
pub detail: Option<String>,
pub params: Vec<String>,
}
Fields§
§path: String
§detail: Option<String>
§params: Vec<String>
Trait Implementations§
Source§impl Debug for ExactlyOne
impl Debug for ExactlyOne
Source§impl Display for ExactlyOne
impl Display for ExactlyOne
Source§impl Error for ExactlyOne
impl Error for ExactlyOne
Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
Source§impl Serialize for ExactlyOne
impl Serialize for ExactlyOne
Auto Trait Implementations§
impl Freeze for ExactlyOne
impl RefUnwindSafe for ExactlyOne
impl Send for ExactlyOne
impl Sync for ExactlyOne
impl Unpin for ExactlyOne
impl UnwindSafe for ExactlyOne
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