Struct iroh_blobs::rpc::proto::blobs::ValidateRequest
source · pub struct ValidateRequest {
pub repair: bool,
}
Available on crate feature
rpc
only.Expand description
A request to the node to validate the integrity of all provided data
Fields§
§repair: bool
repair the store by downgrading blobs from complete to partial
Trait Implementations§
source§impl Debug for ValidateRequest
impl Debug for ValidateRequest
source§impl<'de> Deserialize<'de> for ValidateRequest
impl<'de> Deserialize<'de> for ValidateRequest
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
source§impl From<ValidateRequest> for Request
impl From<ValidateRequest> for Request
source§fn from(value: ValidateRequest) -> Self
fn from(value: ValidateRequest) -> Self
Converts to this type from the input type.
source§impl From<ValidateRequest> for Request
impl From<ValidateRequest> for Request
source§fn from(value: ValidateRequest) -> Self
fn from(value: ValidateRequest) -> Self
Converts to this type from the input type.
source§impl Msg<RpcService> for ValidateRequest
impl Msg<RpcService> for ValidateRequest
source§impl Serialize for ValidateRequest
impl Serialize for ValidateRequest
source§impl ServerStreamingMsg<RpcService> for ValidateRequest
impl ServerStreamingMsg<RpcService> for ValidateRequest
§type Response = ValidateProgress
type Response = ValidateProgress
The type for the response Read more
source§impl<'a> TryFrom<&'a Request> for &'a ValidateRequest
impl<'a> TryFrom<&'a Request> for &'a ValidateRequest
source§impl<'a> TryFrom<&'a Request> for &'a ValidateRequest
impl<'a> TryFrom<&'a Request> for &'a ValidateRequest
source§impl TryFrom<Request> for ValidateRequest
impl TryFrom<Request> for ValidateRequest
Auto Trait Implementations§
impl Freeze for ValidateRequest
impl RefUnwindSafe for ValidateRequest
impl Send for ValidateRequest
impl Sync for ValidateRequest
impl Unpin for ValidateRequest
impl UnwindSafe for ValidateRequest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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