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