pub struct PostReposTransfer {
pub new_owner: Option<String>,
pub new_name: Option<String>,
pub team_ids: Option<Vec<i32>>,
}Fields§
§new_owner: Option<String>The username or organization name the repository will be transferred to.
new_name: Option<String>The new name to be given to the repository.
team_ids: Option<Vec<i32>>ID of the team or teams to add to the repository. Teams can only be added to organization-owned repositories.
Trait Implementations§
Source§impl Clone for PostReposTransfer
impl Clone for PostReposTransfer
Source§fn clone(&self) -> PostReposTransfer
fn clone(&self) -> PostReposTransfer
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 PostReposTransfer
impl Debug for PostReposTransfer
Source§impl Default for PostReposTransfer
impl Default for PostReposTransfer
Source§fn default() -> PostReposTransfer
fn default() -> PostReposTransfer
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostReposTransfer
impl<'de> Deserialize<'de> for PostReposTransfer
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 PostReposTransfer
impl PartialEq for PostReposTransfer
Source§impl Serialize for PostReposTransfer
impl Serialize for PostReposTransfer
impl StructuralPartialEq for PostReposTransfer
Auto Trait Implementations§
impl Freeze for PostReposTransfer
impl RefUnwindSafe for PostReposTransfer
impl Send for PostReposTransfer
impl Sync for PostReposTransfer
impl Unpin for PostReposTransfer
impl UnwindSafe for PostReposTransfer
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