pub struct PaidChunk {
pub content: Bytes,
pub address: XorName,
pub quoted_peers: Vec<(PeerId, Vec<MultiAddr>)>,
pub proof_bytes: Vec<u8>,
}Expand description
Chunk paid but not yet stored. Produced by Client::batch_pay.
Fields§
§content: BytesThe chunk content bytes.
address: XorNameContent address (BLAKE3 hash).
quoted_peers: Vec<(PeerId, Vec<MultiAddr>)>Ordered PUT targets from quote planning.
Kept under the legacy quoted_peers name for API compatibility; the
list can include non-quoted fallback peers beyond the quoted close
group.
proof_bytes: Vec<u8>Serialized PaymentProof bytes.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PaidChunk
impl RefUnwindSafe for PaidChunk
impl Send for PaidChunk
impl Sync for PaidChunk
impl Unpin for PaidChunk
impl UnsafeUnpin for PaidChunk
impl UnwindSafe for PaidChunk
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
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