pub struct HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S: State = Empty> { /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with send().
Implementations§
Source§impl<'f1, 'f2, 'f3, S: State> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S: State> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S>
Sourcepub async fn send(self) -> HFResult<BucketUrl>where
S: IsComplete,
pub async fn send(self) -> HFResult<BucketUrl>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn namespace(
self,
value: &'f2 str,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetNamespace<S>>where
S::Namespace: IsUnset,
pub fn namespace(
self,
value: &'f2 str,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetNamespace<S>>where
S::Namespace: IsUnset,
Required.
Namespace (user or organization) that owns the bucket.
Sourcepub fn name(
self,
value: &'f3 str,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: &'f3 str,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetName<S>>where
S::Name: IsUnset,
Required.
Bucket name within the namespace.
Sourcepub fn private(
self,
value: bool,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetPrivate<S>>where
S::Private: IsUnset,
pub fn private(
self,
value: bool,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetPrivate<S>>where
S::Private: IsUnset,
Sourcepub fn maybe_private(
self,
value: Option<bool>,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetPrivate<S>>where
S::Private: IsUnset,
pub fn maybe_private(
self,
value: Option<bool>,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetPrivate<S>>where
S::Private: IsUnset,
Sourcepub fn resource_group_id(
self,
value: impl Into<String>,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetResourceGroupId<S>>where
S::ResourceGroupId: IsUnset,
pub fn resource_group_id(
self,
value: impl Into<String>,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetResourceGroupId<S>>where
S::ResourceGroupId: IsUnset,
Sourcepub fn maybe_resource_group_id(
self,
value: Option<impl Into<String>>,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetResourceGroupId<S>>where
S::ResourceGroupId: IsUnset,
pub fn maybe_resource_group_id(
self,
value: Option<impl Into<String>>,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetResourceGroupId<S>>where
S::ResourceGroupId: IsUnset,
Sourcepub fn exist_ok(
self,
value: bool,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetExistOk<S>>where
S::ExistOk: IsUnset,
pub fn exist_ok(
self,
value: bool,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetExistOk<S>>where
S::ExistOk: IsUnset,
Sourcepub fn maybe_exist_ok(
self,
value: Option<bool>,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetExistOk<S>>where
S::ExistOk: IsUnset,
pub fn maybe_exist_ok(
self,
value: Option<bool>,
) -> HFClientCreateBucketBuilder<'f1, 'f2, 'f3, SetExistOk<S>>where
S::ExistOk: IsUnset,
Trait Implementations§
Source§impl<'f1, 'f2, 'f3, S: State> Clone for HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S: State> Clone for HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S>
Auto Trait Implementations§
impl<'f1, 'f2, 'f3, S = Empty> !RefUnwindSafe for HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S = Empty> !UnwindSafe for HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> Freeze for HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> Send for HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> Sync for HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> Unpin for HFClientCreateBucketBuilder<'f1, 'f2, 'f3, S>
impl<'f1, 'f2, 'f3, S> UnsafeUnpin for HFClientCreateBucketBuilder<'f1, 'f2, 'f3, 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