pub struct CreateDatasetFileRequest {
pub dataset_rid: String,
pub handle: Option<Handle>,
pub size_bytes: i64,
pub timestamp_metadata: Option<TimestampMetadata>,
pub ingest_tag_metadata: Option<IngestTagMetadata>,
pub origin_files: Vec<Handle>,
pub ingest_job_rid: Option<String>,
pub metadata: Option<DatasetFileMetadata>,
}Fields§
§dataset_rid: String§handle: Option<Handle>§size_bytes: i64§timestamp_metadata: Option<TimestampMetadata>§ingest_tag_metadata: Option<IngestTagMetadata>§origin_files: Vec<Handle>§ingest_job_rid: Option<String>§metadata: Option<DatasetFileMetadata>Implementations§
Source§impl CreateDatasetFileRequest
impl CreateDatasetFileRequest
Sourcepub fn ingest_job_rid(&self) -> &str
pub fn ingest_job_rid(&self) -> &str
Returns the value of ingest_job_rid, or the default value if ingest_job_rid is unset.
Trait Implementations§
Source§impl Clone for CreateDatasetFileRequest
impl Clone for CreateDatasetFileRequest
Source§impl Debug for CreateDatasetFileRequest
impl Debug for CreateDatasetFileRequest
Source§impl Default for CreateDatasetFileRequest
impl Default for CreateDatasetFileRequest
Source§impl Message for CreateDatasetFileRequest
impl Message for CreateDatasetFileRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for CreateDatasetFileRequest
impl PartialEq for CreateDatasetFileRequest
impl StructuralPartialEq for CreateDatasetFileRequest
Auto Trait Implementations§
impl Freeze for CreateDatasetFileRequest
impl RefUnwindSafe for CreateDatasetFileRequest
impl Send for CreateDatasetFileRequest
impl Sync for CreateDatasetFileRequest
impl Unpin for CreateDatasetFileRequest
impl UnsafeUnpin for CreateDatasetFileRequest
impl UnwindSafe for CreateDatasetFileRequest
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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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>
Wrap the input message
T in a tonic::Request