pub struct Blobstore2Info {
pub blob_generation: Option<i64>,
pub blob_id: Option<String>,
pub download_read_handle: Option<Vec<u8>>,
pub read_token: Option<String>,
pub upload_metadata_container: Option<Vec<u8>>,
}
Expand description
Information to read/write to blobstore2.
This type is not used in any activity, and only used as part of another schema.
Fields§
§blob_generation: Option<i64>
The blob generation id.
blob_id: Option<String>
The blob id, e.g., /blobstore/prod/playground/scotty
download_read_handle: Option<Vec<u8>>
Read handle passed from Bigstore -> Scotty for a GCS download. This is a signed, serialized blobstore2.ReadHandle proto which must never be set outside of Bigstore, and is not applicable to non-GCS media downloads.
read_token: Option<String>
The blob read token. Needed to read blobs that have not been replicated. Might not be available until the final call.
upload_metadata_container: Option<Vec<u8>>
Metadata passed from Blobstore -> Scotty for a new GCS upload. This is a signed, serialized blobstore2.BlobMetadataContainer proto which must never be consumed outside of Bigstore, and is not applicable to non-GCS media uploads.
Trait Implementations§
Source§impl Clone for Blobstore2Info
impl Clone for Blobstore2Info
Source§fn clone(&self) -> Blobstore2Info
fn clone(&self) -> Blobstore2Info
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for Blobstore2Info
impl Debug for Blobstore2Info
Source§impl Default for Blobstore2Info
impl Default for Blobstore2Info
Source§fn default() -> Blobstore2Info
fn default() -> Blobstore2Info
Source§impl<'de> Deserialize<'de> for Blobstore2Info
impl<'de> Deserialize<'de> for Blobstore2Info
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for Blobstore2Info
impl Serialize for Blobstore2Info
impl Part for Blobstore2Info
Auto Trait Implementations§
impl Freeze for Blobstore2Info
impl RefUnwindSafe for Blobstore2Info
impl Send for Blobstore2Info
impl Sync for Blobstore2Info
impl Unpin for Blobstore2Info
impl UnwindSafe for Blobstore2Info
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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more