pub struct PackGrant {
pub id: Hash,
pub length: u64,
pub tickets: Vec<Hash>,
}Expand description
Raw pack assignment from existing, verified upload-ticket metadata.
Fields§
§id: HashRaw pack commitment.
length: u64Exact stored byte count.
tickets: Vec<Hash>Every upload ticket bound to this pack, in request order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PackGrant
impl<'de> Deserialize<'de> for PackGrant
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 PackGrant
impl StructuralPartialEq for PackGrant
Auto Trait Implementations§
impl Freeze for PackGrant
impl RefUnwindSafe for PackGrant
impl Send for PackGrant
impl Sync for PackGrant
impl Unpin for PackGrant
impl UnsafeUnpin for PackGrant
impl UnwindSafe for PackGrant
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