Struct google_api_proto::google::genomics::v1::AnnotationSet
source · pub struct AnnotationSet {
pub id: String,
pub dataset_id: String,
pub reference_set_id: String,
pub name: String,
pub source_uri: String,
pub type: i32,
pub info: BTreeMap<String, ListValue>,
}
Expand description
An annotation set is a logical grouping of annotations that share consistent type information and provenance. Examples of annotation sets include ‘all genes from refseq’, and ‘all variant annotations from ClinVar’.
Fields§
§id: String
The server-generated annotation set ID, unique across all annotation sets.
dataset_id: String
The dataset to which this annotation set belongs.
reference_set_id: String
The ID of the reference set that defines the coordinate space for this set’s annotations.
name: String
The display name for this annotation set.
source_uri: String
The source URI describing the file from which this annotation set was generated, if any.
type: i32
The type of annotations contained within this set.
info: BTreeMap<String, ListValue>
A map of additional read alignment information. This must be of the form map<string, string[]> (string key mapping to a list of string values).
Implementations§
source§impl AnnotationSet
impl AnnotationSet
sourcepub fn type(&self) -> AnnotationType
pub fn type(&self) -> AnnotationType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_type(&mut self, value: AnnotationType)
pub fn set_type(&mut self, value: AnnotationType)
Sets type
to the provided enum value.
Trait Implementations§
source§impl Clone for AnnotationSet
impl Clone for AnnotationSet
source§fn clone(&self) -> AnnotationSet
fn clone(&self) -> AnnotationSet
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AnnotationSet
impl Debug for AnnotationSet
source§impl Default for AnnotationSet
impl Default for AnnotationSet
source§impl Message for AnnotationSet
impl Message for AnnotationSet
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 AnnotationSet
impl PartialEq for AnnotationSet
source§fn eq(&self, other: &AnnotationSet) -> bool
fn eq(&self, other: &AnnotationSet) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnnotationSet
Auto Trait Implementations§
impl Freeze for AnnotationSet
impl RefUnwindSafe for AnnotationSet
impl Send for AnnotationSet
impl Sync for AnnotationSet
impl Unpin for AnnotationSet
impl UnwindSafe for AnnotationSet
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