pub struct Payload {
pub name: String,
pub url: String,
pub sha256: String,
pub size: u64,
}Expand description
One file Microsoft publishes, as the manifest describes it.
Fields§
§name: StringThe name the manifest gives it, which for the SDK has a Installers\ in front of it.
url: StringWhere to get it.
sha256: StringWhat it must hash to, as sixty four lowercase hex characters.
size: u64How many bytes it is, which is what lets a caller say the total before it starts.
Trait Implementations§
impl Eq for Payload
impl StructuralPartialEq for Payload
Auto Trait Implementations§
impl Freeze for Payload
impl RefUnwindSafe for Payload
impl Send for Payload
impl Sync for Payload
impl Unpin for Payload
impl UnsafeUnpin for Payload
impl UnwindSafe for Payload
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