pub struct AdapterSession {
pub name: Option<String>,
}Expand description
A session in the Cloud Spanner Adapter API.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- instances databases sessions adapter projects (request|response)
Fields§
§name: Option<String>Identifier. The name of the session. This is always system-assigned.
Trait Implementations§
Source§impl Clone for AdapterSession
impl Clone for AdapterSession
Source§fn clone(&self) -> AdapterSession
fn clone(&self) -> AdapterSession
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 AdapterSession
impl Debug for AdapterSession
Source§impl Default for AdapterSession
impl Default for AdapterSession
Source§fn default() -> AdapterSession
fn default() -> AdapterSession
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AdapterSession
impl<'de> Deserialize<'de> for AdapterSession
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
Source§impl Serialize for AdapterSession
impl Serialize for AdapterSession
impl RequestValue for AdapterSession
impl ResponseResult for AdapterSession
Auto Trait Implementations§
impl Freeze for AdapterSession
impl RefUnwindSafe for AdapterSession
impl Send for AdapterSession
impl Sync for AdapterSession
impl Unpin for AdapterSession
impl UnwindSafe for AdapterSession
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