pub struct TokenConfig {
pub name: String,
pub secret: String,
pub write: Vec<String>,
}Expand description
One [token.NAME] table.
Fields§
§name: StringThe table name, written to the audit log.
secret: StringThe secret a client sends in hello or as a Bearer token.
write: Vec<String>Match patterns on qualified names this token may write.
Trait Implementations§
Source§impl Clone for TokenConfig
impl Clone for TokenConfig
Source§impl Debug for TokenConfig
impl Debug for TokenConfig
Auto Trait Implementations§
impl Freeze for TokenConfig
impl RefUnwindSafe for TokenConfig
impl Send for TokenConfig
impl Sync for TokenConfig
impl Unpin for TokenConfig
impl UnsafeUnpin for TokenConfig
impl UnwindSafe for TokenConfig
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