Struct gapi_grpc::google::spanner::v1::Session[][src]

pub struct Session {
    pub name: String,
    pub labels: HashMap<String, String>,
    pub create_time: Option<Timestamp>,
    pub approximate_last_use_time: Option<Timestamp>,
}
[]

A session in the Cloud Spanner API.

Fields

name: String
[]

Output only. The name of the session. This is always system-assigned.

labels: HashMap<String, String>
[]

The labels for the session.

See https://goo.gl/xmQnxf for more information on and examples of labels.

create_time: Option<Timestamp>
[]

Output only. The timestamp when the session is created.

approximate_last_use_time: Option<Timestamp>
[]

Output only. The approximate timestamp when the session is last used. It is typically earlier than the actual last use time.

Trait Implementations

impl Clone for Session[src][+]

impl Debug for Session[src][+]

impl Default for Session[src][+]

impl Message for Session[src][+]

impl PartialEq<Session> for Session[src][+]

impl StructuralPartialEq for Session[src]

Auto Trait Implementations

impl RefUnwindSafe for Session

impl Send for Session

impl Sync for Session

impl Unpin for Session

impl UnwindSafe for Session

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]