pub struct Settings {
pub secret: Vec<u8>,
pub admin_secret: Option<String>,
/* private fields */
}Expand description
What a server keeps for all its requests.
Fields§
§secret: Vec<u8>§admin_secret: Option<String>Implementations§
Auto Trait Implementations§
impl Forget for Settings
impl Freeze for Settingswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Json>: Freeze,
PhantomData<(String, Json)>: Freeze,
impl Move for Settings
impl RefUnwindSafe for Settings
impl Send for Settingswhere
RawVecInner: Send,
impl Sync for Settingswhere
RawVecInner: Sync,
impl Unpin for Settings
impl UnsafeUnpin for Settingswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Json>: UnsafeUnpin,
PhantomData<(String, Json)>: UnsafeUnpin,
impl UnwindSafe for Settingswhere
RawVecInner: UnwindSafe,
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