Struct iroh_blobs::rpc::proto::blobs::BatchAddPathRequest    
source · pub struct BatchAddPathRequest {
    pub path: PathBuf,
    pub import_mode: ImportMode,
    pub format: BlobFormat,
    pub batch: BatchId,
}Available on crate feature 
rpc only.Expand description
Write a blob from a byte stream
Fields§
§path: PathBufThe path to the data to provide.
import_mode: ImportModeAdd the data in place
format: BlobFormatWhat format to use for the blob
batch: BatchIdBatch to create the temp tag in
Trait Implementations§
source§impl Debug for BatchAddPathRequest
 
impl Debug for BatchAddPathRequest
source§impl<'de> Deserialize<'de> for BatchAddPathRequest
 
impl<'de> Deserialize<'de> for BatchAddPathRequest
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<BatchAddPathRequest> for Request
 
impl From<BatchAddPathRequest> for Request
source§fn from(value: BatchAddPathRequest) -> Self
 
fn from(value: BatchAddPathRequest) -> Self
Converts to this type from the input type.
source§impl From<BatchAddPathRequest> for Request
 
impl From<BatchAddPathRequest> for Request
source§fn from(value: BatchAddPathRequest) -> Self
 
fn from(value: BatchAddPathRequest) -> Self
Converts to this type from the input type.
source§impl Msg<RpcService> for BatchAddPathRequest
 
impl Msg<RpcService> for BatchAddPathRequest
source§impl Serialize for BatchAddPathRequest
 
impl Serialize for BatchAddPathRequest
source§impl ServerStreamingMsg<RpcService> for BatchAddPathRequest
 
impl ServerStreamingMsg<RpcService> for BatchAddPathRequest
§type Response = BatchAddPathResponse
 
type Response = BatchAddPathResponse
The type for the response Read more
source§impl<'a> TryFrom<&'a Request> for &'a BatchAddPathRequest
 
impl<'a> TryFrom<&'a Request> for &'a BatchAddPathRequest
source§impl<'a> TryFrom<&'a Request> for &'a BatchAddPathRequest
 
impl<'a> TryFrom<&'a Request> for &'a BatchAddPathRequest
source§impl TryFrom<Request> for BatchAddPathRequest
 
impl TryFrom<Request> for BatchAddPathRequest
Auto Trait Implementations§
impl Freeze for BatchAddPathRequest
impl RefUnwindSafe for BatchAddPathRequest
impl Send for BatchAddPathRequest
impl Sync for BatchAddPathRequest
impl Unpin for BatchAddPathRequest
impl UnwindSafe for BatchAddPathRequest
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