[][src]Struct gcp_client::google::spanner::v1::ListSessionsRequest

pub struct ListSessionsRequest {
    pub database: String,
    pub page_size: i32,
    pub page_token: String,
    pub filter: String,
}

The request for [ListSessions][google.spanner.v1.Spanner.ListSessions].

Fields

database: String

Required. The database in which to list sessions.

page_size: i32

Number of sessions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.

page_token: String

If non-empty, page_token should contain a [next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token] from a previous [ListSessionsResponse][google.spanner.v1.ListSessionsResponse].

filter: String

An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:

  • labels.key where key is the name of a label

Some examples of using filters are:

  • labels.env:* --> The session has the label "env".
  • labels.env:dev --> The session has the label "env" and the value of the label contains the string "dev".

Trait Implementations

impl Clone for ListSessionsRequest[src]

impl Debug for ListSessionsRequest[src]

impl Default for ListSessionsRequest[src]

impl Message for ListSessionsRequest[src]

impl PartialEq<ListSessionsRequest> for ListSessionsRequest[src]

impl StructuralPartialEq for ListSessionsRequest[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]