pub struct CollaboratorResponse {
pub user: String,
pub permission: Permission,
pub created_at: u64,
}Expand description
Response with collaborator information.
Fields§
§user: StringUser’s public key (hex-encoded).
permission: PermissionPermission level.
created_at: u64When the collaborator was added.
Trait Implementations§
Source§impl Clone for CollaboratorResponse
impl Clone for CollaboratorResponse
Source§fn clone(&self) -> CollaboratorResponse
fn clone(&self) -> CollaboratorResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CollaboratorResponse
impl Debug for CollaboratorResponse
Source§impl<'de> Deserialize<'de> for CollaboratorResponse
impl<'de> Deserialize<'de> for CollaboratorResponse
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<&Collaborator> for CollaboratorResponse
impl From<&Collaborator> for CollaboratorResponse
Source§fn from(c: &Collaborator) -> Self
fn from(c: &Collaborator) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CollaboratorResponse
impl RefUnwindSafe for CollaboratorResponse
impl Send for CollaboratorResponse
impl Sync for CollaboratorResponse
impl Unpin for CollaboratorResponse
impl UnwindSafe for CollaboratorResponse
Blanket Implementations§
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