pub struct ConnectionToken {
pub id: String,
pub database_id: String,
pub url: String,
pub auth_token: String,
pub scopes: Vec<ConnectionScope>,
pub expires_at: String,
}Fields§
§id: String§database_id: String§url: StringBase URL for libsql HTTP clients: append /v1/execute etc.
auth_token: StringPlaintext bearer — only returned at mint time.
scopes: Vec<ConnectionScope>§expires_at: StringTrait Implementations§
Source§impl Clone for ConnectionToken
impl Clone for ConnectionToken
Source§fn clone(&self) -> ConnectionToken
fn clone(&self) -> ConnectionToken
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ConnectionToken
impl RefUnwindSafe for ConnectionToken
impl Send for ConnectionToken
impl Sync for ConnectionToken
impl Unpin for ConnectionToken
impl UnsafeUnpin for ConnectionToken
impl UnwindSafe for ConnectionToken
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