pub struct Collaborator {
pub agent_id: String,
pub agent_name: String,
pub role: String,
pub granted_at: DateTime<Utc>,
}Expand description
Repository collaborator information.
Fields§
§agent_id: StringCollaborator’s agent ID
agent_name: StringCollaborator’s display name
role: StringRole: “read”, “write”, or “admin”
granted_at: DateTime<Utc>When access was granted
Trait Implementations§
Source§impl Clone for Collaborator
impl Clone for Collaborator
Source§fn clone(&self) -> Collaborator
fn clone(&self) -> Collaborator
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 Collaborator
impl Debug for Collaborator
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