Struct gapi_grpc::google::genomics::v1::VariantSetMetadata[][src]

pub struct VariantSetMetadata {
    pub key: String,
    pub value: String,
    pub id: String,
    pub type: i32,
    pub number: String,
    pub description: String,
    pub info: HashMap<String, ListValue>,
}
[]

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: HashMap<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

impl VariantSetMetadata[src][]

pub fn type(&self) -> Type[src][]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: Type)[src][]

Sets type to the provided enum value.

Trait Implementations

impl Clone for VariantSetMetadata[src][+]

impl Debug for VariantSetMetadata[src][+]

impl Default for VariantSetMetadata[src][+]

impl Message for VariantSetMetadata[src][+]

impl PartialEq<VariantSetMetadata> for VariantSetMetadata[src][+]

impl StructuralPartialEq for VariantSetMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for VariantSetMetadata

impl Send for VariantSetMetadata

impl Sync for VariantSetMetadata

impl Unpin for VariantSetMetadata

impl UnwindSafe for VariantSetMetadata

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]