pub struct HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T: RepoType, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with send().
Implementations§
Source§impl<'f1, 'f2, T: RepoType, S: State> HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
impl<'f1, 'f2, T: RepoType, S: State> HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
Sourcepub async fn send(self) -> HFResult<FileMetadataInfo>where
S: IsComplete,
pub async fn send(self) -> HFResult<FileMetadataInfo>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn filepath(
self,
value: impl Into<String>,
) -> HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, SetFilepath<S>>where
S::Filepath: IsUnset,
pub fn filepath(
self,
value: impl Into<String>,
) -> HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, SetFilepath<S>>where
S::Filepath: IsUnset,
Required.
Path of the file to inspect within the repository.
Sourcepub fn revision(
self,
value: &'f2 str,
) -> HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, SetRevision<S>>where
S::Revision: IsUnset,
pub fn revision(
self,
value: &'f2 str,
) -> HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, SetRevision<S>>where
S::Revision: IsUnset,
Sourcepub fn maybe_revision(
self,
value: Option<&'f2 str>,
) -> HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, SetRevision<S>>where
S::Revision: IsUnset,
pub fn maybe_revision(
self,
value: Option<&'f2 str>,
) -> HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, SetRevision<S>>where
S::Revision: IsUnset,
Trait Implementations§
Source§impl<'f1, 'f2, T, S: State> Clone for HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
impl<'f1, 'f2, T, S: State> Clone for HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
Auto Trait Implementations§
impl<'f1, 'f2, T, S = Empty> !RefUnwindSafe for HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
impl<'f1, 'f2, T, S = Empty> !UnwindSafe for HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
impl<'f1, 'f2, T, S> Freeze for HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
impl<'f1, 'f2, T, S> Send for HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
impl<'f1, 'f2, T, S> Sync for HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
impl<'f1, 'f2, T, S> Unpin for HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
impl<'f1, 'f2, T, S> UnsafeUnpin for HFRepositoryGetFileMetadataBuilder<'f1, 'f2, T, S>
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