pub struct StoreAck {
pub hash: ContentHash,
pub accepted: bool,
}Expand description
Acknowledgement for a StoreRequest (ADR 022 §Message Types).
accepted == false means the record was rejected — most commonly the
holder is over per-publisher quota or is not in the receiver’s cached
active-staker set (ADR 022 §Content Records and TTL, §STORE Flow).
Fields§
§hash: ContentHashEchoes the published hash.
accepted: boolTrue iff the record was admitted to the receiver’s record store.
Trait Implementations§
impl Copy for StoreAck
Source§impl<'de> Deserialize<'de> for StoreAck
impl<'de> Deserialize<'de> for StoreAck
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 StoreAck
impl StructuralPartialEq for StoreAck
Auto Trait Implementations§
impl Freeze for StoreAck
impl RefUnwindSafe for StoreAck
impl Send for StoreAck
impl Sync for StoreAck
impl Unpin for StoreAck
impl UnsafeUnpin for StoreAck
impl UnwindSafe for StoreAck
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