Struct mailpot_web::typed_paths::SettingsPath
source · pub struct SettingsPath;
Trait Implementations§
source§impl Clone for SettingsPath
impl Clone for SettingsPath
source§fn clone(&self) -> SettingsPath
fn clone(&self) -> SettingsPath
Returns a copy of the value. Read more
1.0.0 · 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 SettingsPath
impl Debug for SettingsPath
source§impl<'de> Deserialize<'de> for SettingsPath
impl<'de> Deserialize<'de> for SettingsPath
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for SettingsPath
impl Display for SettingsPath
source§impl<S> FromRequestParts<S> for SettingsPathwhere
S: Send + Sync,
impl<S> FromRequestParts<S> for SettingsPathwhere S: Send + Sync,
§type Rejection = StatusCode
type Rejection = StatusCode
If the extractor fails it’ll use this “rejection” type. A rejection is
a kind of error that can be converted into a response.
source§impl PartialEq<SettingsPath> for SettingsPath
impl PartialEq<SettingsPath> for SettingsPath
source§fn eq(&self, other: &SettingsPath) -> bool
fn eq(&self, other: &SettingsPath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SettingsPath
impl Serialize for SettingsPath
source§impl TypedPath for SettingsPath
impl TypedPath for SettingsPath
source§fn with_query_params<T>(self, params: T) -> WithQueryParams<Self, T>where
T: Serialize,
Self: Sized,
fn with_query_params<T>(self, params: T) -> WithQueryParams<Self, T>where T: Serialize, Self: Sized,
Add query parameters to a path. Read more
impl Eq for SettingsPath
impl StructuralEq for SettingsPath
impl StructuralPartialEq for SettingsPath
Auto Trait Implementations§
impl RefUnwindSafe for SettingsPath
impl Send for SettingsPath
impl Sync for SettingsPath
impl Unpin for SettingsPath
impl UnwindSafe for SettingsPath
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.