Enum googapis::google::storage::v1::insert_object_request::FirstMessage [−][src]
pub enum FirstMessage {
UploadId(String),
InsertObjectSpec(InsertObjectSpec),
}
Expand description
The first message of each stream should set one of the following.
Variants
UploadId(String)
For resumable uploads. This should be the upload_id
returned from a
call to StartResumableWriteResponse
.
Tuple Fields of UploadId
0: String
InsertObjectSpec(InsertObjectSpec)
For non-resumable uploads. Describes the overall upload, including the destination bucket and object name, preconditions, etc.
Tuple Fields of InsertObjectSpec
Implementations
pub fn merge<B>(
field: &mut Option<FirstMessage>,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FirstMessage
impl Send for FirstMessage
impl Sync for FirstMessage
impl Unpin for FirstMessage
impl UnwindSafe for FirstMessage
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more