Struct gitea_sdk::api::migrate::MigrateRepoBuilder
source · pub struct MigrateRepoBuilder { /* private fields */ }
Implementations§
source§impl MigrateRepoBuilder
impl MigrateRepoBuilder
pub fn auth_password(self, auth_password: String) -> Self
pub fn auth_token(self, auth_token: String) -> Self
pub fn auth_username(self, auth_username: String) -> Self
pub fn description(self, description: String) -> Self
pub fn issues(self, issues: bool) -> Self
pub fn labels(self, labels: bool) -> Self
pub fn lfs(self, lfs: bool) -> Self
pub fn lfs_endpoint(self, lfs_endpoint: String) -> Self
pub fn milestones(self, milestones: bool) -> Self
pub fn mirror(self, mirror: bool) -> Self
pub fn mirror_interval(self, mirror_interval: String) -> Self
pub fn private(self, private: bool) -> Self
pub fn pull_requests(self, pull_requests: bool) -> Self
pub fn releases(self, releases: bool) -> Self
pub fn repo_owner(self, repo_owner: String) -> Self
pub fn service(self, service: String) -> Self
pub fn wiki(self, wiki: bool) -> Self
Trait Implementations§
source§impl Clone for MigrateRepoBuilder
impl Clone for MigrateRepoBuilder
source§fn clone(&self) -> MigrateRepoBuilder
fn clone(&self) -> MigrateRepoBuilder
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 MigrateRepoBuilder
impl Debug for MigrateRepoBuilder
source§impl PartialEq for MigrateRepoBuilder
impl PartialEq for MigrateRepoBuilder
source§impl Serialize for MigrateRepoBuilder
impl Serialize for MigrateRepoBuilder
impl StructuralPartialEq for MigrateRepoBuilder
Auto Trait Implementations§
impl Freeze for MigrateRepoBuilder
impl RefUnwindSafe for MigrateRepoBuilder
impl Send for MigrateRepoBuilder
impl Sync for MigrateRepoBuilder
impl Unpin for MigrateRepoBuilder
impl UnwindSafe for MigrateRepoBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)