Struct databend_client::request::SessionState
source · pub struct SessionState {
pub database: Option<String>,
pub settings: Option<BTreeMap<String, String>>,
pub role: Option<String>,
pub secondary_roles: Option<Vec<String>>,
}
Fields§
§database: Option<String>
§settings: Option<BTreeMap<String, String>>
§role: Option<String>
§secondary_roles: Option<Vec<String>>
Implementations§
Trait Implementations§
source§impl Clone for SessionState
impl Clone for SessionState
source§fn clone(&self) -> SessionState
fn clone(&self) -> SessionState
Returns a copy 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 SessionState
impl Debug for SessionState
source§impl Default for SessionState
impl Default for SessionState
source§fn default() -> SessionState
fn default() -> SessionState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SessionState
impl<'de> Deserialize<'de> for SessionState
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SessionState
impl Send for SessionState
impl Sync for SessionState
impl Unpin for SessionState
impl UnwindSafe for SessionState
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