pub struct ValueDataBuilder { /* private fields */ }
Expand description
Builder for ValueData
.
Implementations§
source§impl ValueDataBuilder
impl ValueDataBuilder
sourcepub fn key(&mut self, value: StrBytes) -> &mut Self
pub fn key(&mut self, value: StrBytes) -> &mut Self
The quota configuration key.
Supported API versions: 0-1
sourcepub fn value(&mut self, value: f64) -> &mut Self
pub fn value(&mut self, value: f64) -> &mut Self
The quota configuration value.
Supported API versions: 0-1
Trait Implementations§
source§impl Clone for ValueDataBuilder
impl Clone for ValueDataBuilder
source§fn clone(&self) -> ValueDataBuilder
fn clone(&self) -> ValueDataBuilder
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 moreAuto Trait Implementations§
impl !Freeze for ValueDataBuilder
impl RefUnwindSafe for ValueDataBuilder
impl Send for ValueDataBuilder
impl Sync for ValueDataBuilder
impl Unpin for ValueDataBuilder
impl UnwindSafe for ValueDataBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)