Struct iroh_blobs::rpc::proto::blobs::CreateCollectionRequest
source · pub struct CreateCollectionRequest {
pub collection: Collection,
pub tag: SetTagOption,
pub tags_to_delete: Vec<Tag>,
}
Available on crate feature
rpc
only.Expand description
Create a collection.
Fields§
§collection: Collection
The collection
tag: SetTagOption
Tag option.
Tags that should be deleted after creation.
Trait Implementations§
source§impl Debug for CreateCollectionRequest
impl Debug for CreateCollectionRequest
source§impl<'de> Deserialize<'de> for CreateCollectionRequest
impl<'de> Deserialize<'de> for CreateCollectionRequest
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<CreateCollectionRequest> for Request
impl From<CreateCollectionRequest> for Request
source§fn from(value: CreateCollectionRequest) -> Self
fn from(value: CreateCollectionRequest) -> Self
Converts to this type from the input type.
source§impl From<CreateCollectionRequest> for Request
impl From<CreateCollectionRequest> for Request
source§fn from(value: CreateCollectionRequest) -> Self
fn from(value: CreateCollectionRequest) -> Self
Converts to this type from the input type.
source§impl RpcMsg<RpcService> for CreateCollectionRequest
impl RpcMsg<RpcService> for CreateCollectionRequest
§type Response = Result<CreateCollectionResponse, Error>
type Response = Result<CreateCollectionResponse, Error>
The type for the response Read more
source§impl Serialize for CreateCollectionRequest
impl Serialize for CreateCollectionRequest
source§impl<'a> TryFrom<&'a Request> for &'a CreateCollectionRequest
impl<'a> TryFrom<&'a Request> for &'a CreateCollectionRequest
source§impl<'a> TryFrom<&'a Request> for &'a CreateCollectionRequest
impl<'a> TryFrom<&'a Request> for &'a CreateCollectionRequest
source§impl TryFrom<Request> for CreateCollectionRequest
impl TryFrom<Request> for CreateCollectionRequest
Auto Trait Implementations§
impl !Freeze for CreateCollectionRequest
impl RefUnwindSafe for CreateCollectionRequest
impl Send for CreateCollectionRequest
impl Sync for CreateCollectionRequest
impl Unpin for CreateCollectionRequest
impl UnwindSafe for CreateCollectionRequest
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