Struct google_api_proto::google::genomics::v1::SearchAnnotationSetsRequest
source · pub struct SearchAnnotationSetsRequest {
pub dataset_ids: Vec<String>,
pub reference_set_id: String,
pub name: String,
pub types: Vec<i32>,
pub page_token: String,
pub page_size: i32,
}
Fields§
§dataset_ids: Vec<String>
Required. The dataset IDs to search within. Caller must have READ
access
to these datasets.
reference_set_id: String
If specified, only annotation sets associated with the given reference set are returned.
name: String
Only return annotations sets for which a substring of the name matches this string (case insensitive).
types: Vec<i32>
If specified, only annotation sets that have any of these types are returned.
page_token: String
The continuation token, which is used to page through large result sets.
To get the next page of results, set this parameter to the value of
nextPageToken
from the previous response.
page_size: i32
The maximum number of results to return in a single page. If unspecified, defaults to 128. The maximum value is 1024.
Implementations§
source§impl SearchAnnotationSetsRequest
impl SearchAnnotationSetsRequest
sourcepub fn types(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<AnnotationType>>
pub fn types( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<AnnotationType>>
Returns an iterator which yields the valid enum values contained in types
.
sourcepub fn push_types(&mut self, value: AnnotationType)
pub fn push_types(&mut self, value: AnnotationType)
Appends the provided enum value to types
.
Trait Implementations§
source§impl Clone for SearchAnnotationSetsRequest
impl Clone for SearchAnnotationSetsRequest
source§fn clone(&self) -> SearchAnnotationSetsRequest
fn clone(&self) -> SearchAnnotationSetsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchAnnotationSetsRequest
impl Debug for SearchAnnotationSetsRequest
source§impl Message for SearchAnnotationSetsRequest
impl Message for SearchAnnotationSetsRequest
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 SearchAnnotationSetsRequest
impl PartialEq for SearchAnnotationSetsRequest
source§fn eq(&self, other: &SearchAnnotationSetsRequest) -> bool
fn eq(&self, other: &SearchAnnotationSetsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchAnnotationSetsRequest
Auto Trait Implementations§
impl Freeze for SearchAnnotationSetsRequest
impl RefUnwindSafe for SearchAnnotationSetsRequest
impl Send for SearchAnnotationSetsRequest
impl Sync for SearchAnnotationSetsRequest
impl Unpin for SearchAnnotationSetsRequest
impl UnwindSafe for SearchAnnotationSetsRequest
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