Struct iroh_docs::rpc::proto::AuthorDeleteRequest
source · pub struct AuthorDeleteRequest {
pub author: AuthorId,
}
Available on crate feature
rpc
only.Expand description
Delete an author
Fields§
The id of the author to delete
Trait Implementations§
source§impl Debug for AuthorDeleteRequest
impl Debug for AuthorDeleteRequest
source§impl<'de> Deserialize<'de> for AuthorDeleteRequest
impl<'de> Deserialize<'de> for AuthorDeleteRequest
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<AuthorDeleteRequest> for Request
impl From<AuthorDeleteRequest> for Request
source§fn from(value: AuthorDeleteRequest) -> Self
fn from(value: AuthorDeleteRequest) -> Self
Converts to this type from the input type.
source§impl RpcMsg<RpcService> for AuthorDeleteRequest
impl RpcMsg<RpcService> for AuthorDeleteRequest
§type Response = Result<AuthorDeleteResponse, Error>
type Response = Result<AuthorDeleteResponse, Error>
The type for the response Read more
source§impl Serialize for AuthorDeleteRequest
impl Serialize for AuthorDeleteRequest
source§impl<'a> TryFrom<&'a Request> for &'a AuthorDeleteRequest
impl<'a> TryFrom<&'a Request> for &'a AuthorDeleteRequest
Auto Trait Implementations§
impl Freeze for AuthorDeleteRequest
impl RefUnwindSafe for AuthorDeleteRequest
impl Send for AuthorDeleteRequest
impl Sync for AuthorDeleteRequest
impl Unpin for AuthorDeleteRequest
impl UnwindSafe for AuthorDeleteRequest
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