Struct google_api_proto::google::genomics::v1::SearchVariantsRequest
source · pub struct SearchVariantsRequest {
pub variant_set_ids: Vec<String>,
pub variant_name: String,
pub call_set_ids: Vec<String>,
pub reference_name: String,
pub start: i64,
pub end: i64,
pub page_token: String,
pub page_size: i32,
pub max_calls: i32,
}
Expand description
The variant search request.
Fields§
§variant_set_ids: Vec<String>
At most one variant set ID must be provided. Only variants from this variant set will be returned. If omitted, a call set id must be included in the request.
variant_name: String
Only return variants which have exactly this name.
call_set_ids: Vec<String>
Only return variant calls which belong to call sets with these ids. Leaving this blank returns all variant calls. If a variant has no calls belonging to any of these call sets, it won’t be returned at all.
reference_name: String
Required. Only return variants in this reference sequence.
start: i64
The beginning of the window (0-based, inclusive) for which overlapping variants should be returned. If unspecified, defaults to 0.
end: i64
The end of the window, 0-based exclusive. If unspecified or 0, 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 variants to return in a single page. If unspecified, defaults to 5000. The maximum value is 10000.
max_calls: i32
The maximum number of calls to return in a single page. Note that this limit may be exceeded in the event that a matching variant contains more calls than the requested maximum. If unspecified, defaults to 5000. The maximum value is 10000.
Trait Implementations§
source§impl Clone for SearchVariantsRequest
impl Clone for SearchVariantsRequest
source§fn clone(&self) -> SearchVariantsRequest
fn clone(&self) -> SearchVariantsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchVariantsRequest
impl Debug for SearchVariantsRequest
source§impl Default for SearchVariantsRequest
impl Default for SearchVariantsRequest
source§impl Message for SearchVariantsRequest
impl Message for SearchVariantsRequest
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 SearchVariantsRequest
impl PartialEq for SearchVariantsRequest
source§fn eq(&self, other: &SearchVariantsRequest) -> bool
fn eq(&self, other: &SearchVariantsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchVariantsRequest
Auto Trait Implementations§
impl Freeze for SearchVariantsRequest
impl RefUnwindSafe for SearchVariantsRequest
impl Send for SearchVariantsRequest
impl Sync for SearchVariantsRequest
impl Unpin for SearchVariantsRequest
impl UnwindSafe for SearchVariantsRequest
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