pub struct GeneralConfiguration {
pub browser_extension_token: Option<String>,
}Expand description
General configuration
Fields§
§browser_extension_token: Option<String>Token to be used for securing the communication with browser extensions
Implementations§
Source§impl GeneralConfiguration
impl GeneralConfiguration
pub fn new(browser_extension_token: Option<String>) -> GeneralConfiguration
pub fn from_table( table: &Table, ) -> Result<GeneralConfiguration, RustKeylockError>
pub fn to_table(&self) -> Result<Table, RustKeylockError>
Trait Implementations§
Source§impl Clone for GeneralConfiguration
impl Clone for GeneralConfiguration
Source§fn clone(&self) -> GeneralConfiguration
fn clone(&self) -> GeneralConfiguration
Returns a duplicate 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 GeneralConfiguration
impl Debug for GeneralConfiguration
Source§impl Default for GeneralConfiguration
impl Default for GeneralConfiguration
Source§fn default() -> GeneralConfiguration
fn default() -> GeneralConfiguration
Returns the “default value” for a type. Read more
Source§impl PartialEq for GeneralConfiguration
impl PartialEq for GeneralConfiguration
impl StructuralPartialEq for GeneralConfiguration
Auto Trait Implementations§
impl Freeze for GeneralConfiguration
impl RefUnwindSafe for GeneralConfiguration
impl Send for GeneralConfiguration
impl Sync for GeneralConfiguration
impl Unpin for GeneralConfiguration
impl UnwindSafe for GeneralConfiguration
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