Struct google_api_proto::google::maps::mapsplatformdatasets::v1alpha::Dataset
source · pub struct Dataset {
pub name: String,
pub display_name: String,
pub description: String,
pub version_id: String,
pub usage: Vec<i32>,
pub status: i32,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub version_create_time: Option<Timestamp>,
pub version_description: String,
pub data_source: Option<DataSource>,
}
Expand description
A representation of a maps platform dataset.
Fields§
§name: String
Resource name, projects/{project}/datasets/{dataset_id}
display_name: String
Human readable name, shown in the console UI. Set by customer.
description: String
A description of this dataset; set by the customer.
version_id: String
The version of the dataset.
usage: Vec<i32>
Specified use case(s) for this dataset.
status: i32
The status of the import of the latest dataset version.
create_time: Option<Timestamp>
Output only. Time when the dataset was first created.
update_time: Option<Timestamp>
Output only. Time when the dataset metadata was last updated.
version_create_time: Option<Timestamp>
Output only. Time when this version of dataset was created. (It happened when importing data to the dataset)
version_description: String
Output only. The description for this version of dataset. It is provided when importing data to the dataset.
data_source: Option<DataSource>
Details about the source of the data for the dataset.
Implementations§
source§impl Dataset
impl Dataset
sourcepub fn usage(
&self
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<Usage>>
pub fn usage( &self ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<Usage>>
Returns an iterator which yields the valid enum values contained in usage
.
sourcepub fn push_usage(&mut self, value: Usage)
pub fn push_usage(&mut self, value: Usage)
Appends the provided enum value to usage
.
sourcepub fn status(&self) -> State
pub fn status(&self) -> State
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
sourcepub fn set_status(&mut self, value: State)
pub fn set_status(&mut self, value: State)
Sets status
to the provided enum value.
Trait Implementations§
source§impl Message for Dataset
impl Message for Dataset
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for Dataset
impl PartialEq for Dataset
impl StructuralPartialEq for Dataset
Auto Trait Implementations§
impl Freeze for Dataset
impl RefUnwindSafe for Dataset
impl Send for Dataset
impl Sync for Dataset
impl Unpin for Dataset
impl UnwindSafe for Dataset
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