pub struct HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S: State = Empty>where
I1: RepoType,{ /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with send().
Implementations§
Source§impl<'f1, 'f2, 'f3, I1, S: State> HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>where
I1: RepoType,
impl<'f1, 'f2, 'f3, I1, S: State> HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>where
I1: RepoType,
Sourcepub async fn send(self) -> HFResult<RepoUrl>where
S: IsComplete,
pub async fn send(self) -> HFResult<RepoUrl>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn from_id(
self,
value: &'f2 str,
) -> HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, SetFromId<S>>where
S::FromId: IsUnset,
pub fn from_id(
self,
value: &'f2 str,
) -> HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, SetFromId<S>>where
S::FromId: IsUnset,
Required.
Current repository ID in "owner/name" format.
Sourcepub fn to_id(
self,
value: &'f3 str,
) -> HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, SetToId<S>>where
S::ToId: IsUnset,
pub fn to_id(
self,
value: &'f3 str,
) -> HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, SetToId<S>>where
S::ToId: IsUnset,
Required.
New repository ID in "owner/name" format.
Sourcepub fn repo_type(
self,
value: I1,
) -> HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, SetRepoType<S>>where
S::RepoType: IsUnset,
pub fn repo_type(
self,
value: I1,
) -> HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, SetRepoType<S>>where
S::RepoType: IsUnset,
Required.
The repo kind (RepoTypeModel, RepoTypeDataset, RepoTypeSpace,
or RepoTypeKernel).
Trait Implementations§
Source§impl<'f1, 'f2, 'f3, I1, S: State> Clone for HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>
impl<'f1, 'f2, 'f3, I1, S: State> Clone for HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, I1, S = Empty> !RefUnwindSafe for HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>
impl<'f1, 'f2, 'f3, I1, S = Empty> !UnwindSafe for HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>
impl<'f1, 'f2, 'f3, I1, S> Freeze for HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>where
I1: Freeze,
impl<'f1, 'f2, 'f3, I1, S> Send for HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>
impl<'f1, 'f2, 'f3, I1, S> Sync for HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>
impl<'f1, 'f2, 'f3, I1, S> Unpin for HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>where
I1: Unpin,
impl<'f1, 'f2, 'f3, I1, S> UnsafeUnpin for HFClientMoveRepositoryBuilder<'f1, 'f2, 'f3, I1, S>where
I1: UnsafeUnpin,
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§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more