#[non_exhaustive]pub struct ManifestRoute {
pub method: String,
pub path: String,
pub credential: String,
pub issues: Option<String>,
pub clears: Vec<String>,
pub body: Option<PickBody>,
pub delivery: bool,
}Expand description
One route an adapter serves.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.method: String§path: String§credential: StringThe held token the route takes: none, preAuth, registration,
access or refresh.
issues: Option<String>The tokens its response issues: preAuth, registration, session or
access.
clears: Vec<String>The held tokens its response ends.
body: Option<PickBody>The only fields a browser sees, when set.
delivery: boolWhether the route sends an OTP code or magic link.
Trait Implementations§
Source§impl Clone for ManifestRoute
impl Clone for ManifestRoute
Source§impl Debug for ManifestRoute
impl Debug for ManifestRoute
Source§impl<'de> Deserialize<'de> for ManifestRoute
impl<'de> Deserialize<'de> for ManifestRoute
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
Auto Trait Implementations§
impl Freeze for ManifestRoute
impl RefUnwindSafe for ManifestRoute
impl Send for ManifestRoute
impl Sync for ManifestRoute
impl Unpin for ManifestRoute
impl UnsafeUnpin for ManifestRoute
impl UnwindSafe for ManifestRoute
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