pub struct CreateCounterReq { /* private fields */ }Implementations§
Source§impl CreateCounterReq
impl CreateCounterReq
pub fn new(name: impl Into<String>, counter_type: CounterType) -> Self
pub fn with_value(self, value: i64) -> Self
Trait Implementations§
Source§impl Debug for CreateCounterReq
impl Debug for CreateCounterReq
Source§impl From<&CreateCounterReq> for Request
impl From<&CreateCounterReq> for Request
Source§fn from(request: &CreateCounterReq) -> Self
fn from(request: &CreateCounterReq) -> Self
Converts to this type from the input type.
Source§impl ToHttpRequest for CreateCounterReq
impl ToHttpRequest for CreateCounterReq
Auto Trait Implementations§
impl Freeze for CreateCounterReq
impl RefUnwindSafe for CreateCounterReq
impl Send for CreateCounterReq
impl Sync for CreateCounterReq
impl Unpin for CreateCounterReq
impl UnsafeUnpin for CreateCounterReq
impl UnwindSafe for CreateCounterReq
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