Struct google_api_proto::google::genomics::v1::VariantSetMetadata
source · pub struct VariantSetMetadata {
pub key: String,
pub value: String,
pub id: String,
pub type: i32,
pub number: String,
pub description: String,
pub info: BTreeMap<String, ListValue>,
}
Expand description
Metadata describes a single piece of variant call metadata. These data include a top level key and either a single value string (value) or a list of key-value pairs (info.) Value and info are mutually exclusive.
Fields§
§key: String
The top-level key.
value: String
The value field for simple metadata
id: String
User-provided ID field, not enforced by this API. Two or more pieces of structured metadata with identical id and key fields are considered equivalent.
type: i32
The type of data. Possible types include: Integer, Float, Flag, Character, and String.
number: String
The number of values that can be included in a field described by this metadata.
description: String
A textual description of this metadata.
info: BTreeMap<String, ListValue>
Remaining structured metadata key-value pairs. This must be of the form map<string, string[]> (string key mapping to a list of string values).
Implementations§
Trait Implementations§
source§impl Clone for VariantSetMetadata
impl Clone for VariantSetMetadata
source§fn clone(&self) -> VariantSetMetadata
fn clone(&self) -> VariantSetMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VariantSetMetadata
impl Debug for VariantSetMetadata
source§impl Default for VariantSetMetadata
impl Default for VariantSetMetadata
source§impl Message for VariantSetMetadata
impl Message for VariantSetMetadata
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 VariantSetMetadata
impl PartialEq for VariantSetMetadata
source§fn eq(&self, other: &VariantSetMetadata) -> bool
fn eq(&self, other: &VariantSetMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VariantSetMetadata
Auto Trait Implementations§
impl Freeze for VariantSetMetadata
impl RefUnwindSafe for VariantSetMetadata
impl Send for VariantSetMetadata
impl Sync for VariantSetMetadata
impl Unpin for VariantSetMetadata
impl UnwindSafe for VariantSetMetadata
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