Struct forgejo_api::structs::RepoTransfer
source · pub struct RepoTransfer {
pub doer: Option<User>,
pub recipient: Option<User>,
pub teams: Option<Vec<Team>>,
}Expand description
RepoTransfer represents a pending repo transfer
Fields§
§doer: Option<User>§recipient: Option<User>§teams: Option<Vec<Team>>Trait Implementations§
source§impl Clone for RepoTransfer
impl Clone for RepoTransfer
source§fn clone(&self) -> RepoTransfer
fn clone(&self) -> RepoTransfer
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 RepoTransfer
impl Debug for RepoTransfer
source§impl<'de> Deserialize<'de> for RepoTransfer
impl<'de> Deserialize<'de> for RepoTransfer
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 PartialEq for RepoTransfer
impl PartialEq for RepoTransfer
source§fn eq(&self, other: &RepoTransfer) -> bool
fn eq(&self, other: &RepoTransfer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for RepoTransfer
impl Serialize for RepoTransfer
impl StructuralPartialEq for RepoTransfer
Auto Trait Implementations§
impl Freeze for RepoTransfer
impl RefUnwindSafe for RepoTransfer
impl Send for RepoTransfer
impl Sync for RepoTransfer
impl Unpin for RepoTransfer
impl UnwindSafe for RepoTransfer
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