pub struct BlobInfo {
pub source_path: String,
pub path: String,
pub merkle: Hash,
pub size: u64,
}Fields§
§source_path: StringPath to the blob file, could be a delivery blob or uncompressed blob depending on
delivery_blob_type in the manifest.
path: StringThe virtual path of the blob in the package.
merkle: Hash§size: u64Uncompressed size of the blob.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BlobInfo
impl<'de> Deserialize<'de> for BlobInfo
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for BlobInfo
impl Ord for BlobInfo
Source§impl PartialOrd for BlobInfo
impl PartialOrd for BlobInfo
impl Eq for BlobInfo
Auto Trait Implementations§
impl Freeze for BlobInfo
impl RefUnwindSafe for BlobInfo
impl Send for BlobInfo
impl Sync for BlobInfo
impl Unpin for BlobInfo
impl UnwindSafe for BlobInfo
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
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>
Converts
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>
Converts
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