pub struct NeedsPrivilegedSessionError {
pub error: Option<Box<GenericError>>,
pub redirect_browser_to: String,
}Fields§
§error: Option<Box<GenericError>>§redirect_browser_to: StringPoints to where to redirect the user to next.
Implementations§
Source§impl NeedsPrivilegedSessionError
impl NeedsPrivilegedSessionError
pub fn new(redirect_browser_to: String) -> NeedsPrivilegedSessionError
Trait Implementations§
Source§impl Clone for NeedsPrivilegedSessionError
impl Clone for NeedsPrivilegedSessionError
Source§impl Debug for NeedsPrivilegedSessionError
impl Debug for NeedsPrivilegedSessionError
Source§impl<'de> Deserialize<'de> for NeedsPrivilegedSessionError
impl<'de> Deserialize<'de> for NeedsPrivilegedSessionError
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
impl StructuralPartialEq for NeedsPrivilegedSessionError
Auto Trait Implementations§
impl Freeze for NeedsPrivilegedSessionError
impl RefUnwindSafe for NeedsPrivilegedSessionError
impl Send for NeedsPrivilegedSessionError
impl Sync for NeedsPrivilegedSessionError
impl Unpin for NeedsPrivilegedSessionError
impl UnsafeUnpin for NeedsPrivilegedSessionError
impl UnwindSafe for NeedsPrivilegedSessionError
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