Struct google_api_proto::google::genomics::v1::SearchAnnotationsRequest
source · pub struct SearchAnnotationsRequest {
pub annotation_set_ids: Vec<String>,
pub start: i64,
pub end: i64,
pub page_token: String,
pub page_size: i32,
pub reference: Option<Reference>,
}
Fields§
§annotation_set_ids: Vec<String>
Required. The annotation sets to search within. The caller must have
READ
access to these annotation sets.
All queried annotation sets must have the same type.
start: i64
The start position of the range on the reference, 0-based inclusive. If specified, [referenceId][google.genomics.v1.SearchAnnotationsRequest.reference_id] or [referenceName][google.genomics.v1.SearchAnnotationsRequest.reference_name] must be specified. Defaults to 0.
end: i64
The end position of the range on the reference, 0-based exclusive. If [referenceId][google.genomics.v1.SearchAnnotationsRequest.reference_id] or [referenceName][google.genomics.v1.SearchAnnotationsRequest.reference_name] must be specified, Defaults to the length of the reference.
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 256. The maximum value is 2048.
reference: Option<Reference>
Required. reference_id
or reference_name
must be set.
Trait Implementations§
source§impl Clone for SearchAnnotationsRequest
impl Clone for SearchAnnotationsRequest
source§fn clone(&self) -> SearchAnnotationsRequest
fn clone(&self) -> SearchAnnotationsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchAnnotationsRequest
impl Debug for SearchAnnotationsRequest
source§impl Default for SearchAnnotationsRequest
impl Default for SearchAnnotationsRequest
source§impl Message for SearchAnnotationsRequest
impl Message for SearchAnnotationsRequest
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 SearchAnnotationsRequest
impl PartialEq for SearchAnnotationsRequest
source§fn eq(&self, other: &SearchAnnotationsRequest) -> bool
fn eq(&self, other: &SearchAnnotationsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchAnnotationsRequest
Auto Trait Implementations§
impl Freeze for SearchAnnotationsRequest
impl RefUnwindSafe for SearchAnnotationsRequest
impl Send for SearchAnnotationsRequest
impl Sync for SearchAnnotationsRequest
impl Unpin for SearchAnnotationsRequest
impl UnwindSafe for SearchAnnotationsRequest
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