pub struct Collaborator {
pub user: User,
pub permission_level: String,
}
Fields§
§user: User
§permission_level: String
Trait Implementations§
Source§impl Clone for Collaborator
impl Clone for Collaborator
Source§fn clone(&self) -> Collaborator
fn clone(&self) -> Collaborator
Returns a copy 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 Collaborator
impl Debug for Collaborator
Source§impl Default for Collaborator
impl Default for Collaborator
Source§fn default() -> Collaborator
fn default() -> Collaborator
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Collaborator
impl<'de> Deserialize<'de> for Collaborator
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
Auto Trait Implementations§
impl Freeze for Collaborator
impl RefUnwindSafe for Collaborator
impl Send for Collaborator
impl Sync for Collaborator
impl Unpin for Collaborator
impl UnwindSafe for Collaborator
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