pub struct ArchiveInfo {
pub url: String,
pub sha256: String,
pub size: u64,
}Expand description
Where the bundle archive lives and what it must hash to.
Fields§
§url: String§sha256: StringHex sha256 of the archive bytes. Canonicalized to lowercase at parse
time so it can serve as the blacklist identity in state.json.
size: u64Exact archive byte count; the download aborts past it.
Trait Implementations§
Source§impl Clone for ArchiveInfo
impl Clone for ArchiveInfo
Source§fn clone(&self) -> ArchiveInfo
fn clone(&self) -> ArchiveInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArchiveInfo
impl Debug for ArchiveInfo
Source§impl<'de> Deserialize<'de> for ArchiveInfo
impl<'de> Deserialize<'de> for ArchiveInfo
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
impl Eq for ArchiveInfo
Source§impl PartialEq for ArchiveInfo
impl PartialEq for ArchiveInfo
Source§impl Serialize for ArchiveInfo
impl Serialize for ArchiveInfo
impl StructuralPartialEq for ArchiveInfo
Auto Trait Implementations§
impl Freeze for ArchiveInfo
impl RefUnwindSafe for ArchiveInfo
impl Send for ArchiveInfo
impl Sync for ArchiveInfo
impl Unpin for ArchiveInfo
impl UnsafeUnpin for ArchiveInfo
impl UnwindSafe for ArchiveInfo
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<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
Source§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.