pub struct BlobUnpublishParams {
pub scope: String,
pub hash: String,
}Expand description
Params of Request::BlobUnpublish (#62): the scope and the blake3 hex to remove from it.
Removes REACHABILITY, not bytes. The scope gate requires a hash to be listed in some scope, so
this takes effect immediately for authorization — but the bytes stay in the local store until a
GARBAGE-COLLECTION sweep reclaims them, and only a node that set [blobs].gc_interval runs one
(#80, api_minor >= 49). There is no reclaim VERB — collection is periodic and configured at
store construction, so “deleted” means “deleted within an interval” at best. On a node with no
interval configured — the default — the bytes stay forever. Do not surface this to a user as
deletion unless you know the node collects.
Fields§
§scope: String§hash: StringTrait Implementations§
Source§impl Clone for BlobUnpublishParams
impl Clone for BlobUnpublishParams
Source§fn clone(&self) -> BlobUnpublishParams
fn clone(&self) -> BlobUnpublishParams
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 BlobUnpublishParams
impl Debug for BlobUnpublishParams
Source§impl<'de> Deserialize<'de> for BlobUnpublishParams
impl<'de> Deserialize<'de> for BlobUnpublishParams
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 BlobUnpublishParams
Source§impl PartialEq for BlobUnpublishParams
impl PartialEq for BlobUnpublishParams
Source§impl Serialize for BlobUnpublishParams
impl Serialize for BlobUnpublishParams
impl StructuralPartialEq for BlobUnpublishParams
Auto Trait Implementations§
impl Freeze for BlobUnpublishParams
impl RefUnwindSafe for BlobUnpublishParams
impl Send for BlobUnpublishParams
impl Sync for BlobUnpublishParams
impl Unpin for BlobUnpublishParams
impl UnsafeUnpin for BlobUnpublishParams
impl UnwindSafe for BlobUnpublishParams
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