Struct google_api_proto::google::spanner::executor::v1::ListCloudInstancesAction
source · pub struct ListCloudInstancesAction {
pub project_id: String,
pub filter: Option<String>,
pub page_size: Option<i32>,
pub page_token: Option<String>,
}
Expand description
Action that lists Cloud Spanner databases.
Fields§
§project_id: String
Cloud project ID, e.g. “spanner-cloud-systest”.
filter: Option<String>
A filter expression that filters what operations are returned in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. Refer spanner_instance_admin.proto.ListInstancesRequest for detail.
page_size: Option<i32>
Number of instances to be returned in the response. If 0 or less, defaults to the server’s maximum allowed page size.
page_token: Option<String>
If non-empty, “page_token” should contain a next_page_token from a previous ListInstancesResponse to the same “parent” and with the same “filter”.
Implementations§
source§impl ListCloudInstancesAction
impl ListCloudInstancesAction
sourcepub fn filter(&self) -> &str
pub fn filter(&self) -> &str
Returns the value of filter
, or the default value if filter
is unset.
sourcepub fn page_size(&self) -> i32
pub fn page_size(&self) -> i32
Returns the value of page_size
, or the default value if page_size
is unset.
sourcepub fn page_token(&self) -> &str
pub fn page_token(&self) -> &str
Returns the value of page_token
, or the default value if page_token
is unset.
Trait Implementations§
source§impl Clone for ListCloudInstancesAction
impl Clone for ListCloudInstancesAction
source§fn clone(&self) -> ListCloudInstancesAction
fn clone(&self) -> ListCloudInstancesAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCloudInstancesAction
impl Debug for ListCloudInstancesAction
source§impl Default for ListCloudInstancesAction
impl Default for ListCloudInstancesAction
source§impl Message for ListCloudInstancesAction
impl Message for ListCloudInstancesAction
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ListCloudInstancesAction
impl PartialEq for ListCloudInstancesAction
source§fn eq(&self, other: &ListCloudInstancesAction) -> bool
fn eq(&self, other: &ListCloudInstancesAction) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCloudInstancesAction
Auto Trait Implementations§
impl Freeze for ListCloudInstancesAction
impl RefUnwindSafe for ListCloudInstancesAction
impl Send for ListCloudInstancesAction
impl Sync for ListCloudInstancesAction
impl Unpin for ListCloudInstancesAction
impl UnwindSafe for ListCloudInstancesAction
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request