Struct tsar_client::ClientOptions
source · pub struct ClientOptions {
pub app_id: String,
pub client_key: String,
pub debug_print: bool,
}Expand description
The TSAR Client options struct. Used to form options and pass into the creation of the TSAR Client struct.
Fields§
§app_id: StringThe ID of your TSAR app. Should be in UUID format: 00000000-0000-0000-0000-000000000000
client_key: StringThe public decryption key for your TSAR app. Should be in base64 format.
debug_print: boolWhether TSAR should print debug statements regarding auth.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClientOptions
impl RefUnwindSafe for ClientOptions
impl Send for ClientOptions
impl Sync for ClientOptions
impl Unpin for ClientOptions
impl UnwindSafe for ClientOptions
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