Struct iotdb_client::client::common::TSetThrottleQuotaReq
source · pub struct TSetThrottleQuotaReq {
pub user_name: String,
pub throttle_quota: TThrottleQuota,
}
Fields§
§user_name: String
§throttle_quota: TThrottleQuota
Implementations§
source§impl TSetThrottleQuotaReq
impl TSetThrottleQuotaReq
pub fn new( user_name: String, throttle_quota: TThrottleQuota ) -> TSetThrottleQuotaReq
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol ) -> Result<TSetThrottleQuotaReq>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol ) -> Result<()>
Trait Implementations§
source§impl Clone for TSetThrottleQuotaReq
impl Clone for TSetThrottleQuotaReq
source§fn clone(&self) -> TSetThrottleQuotaReq
fn clone(&self) -> TSetThrottleQuotaReq
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 moresource§impl Debug for TSetThrottleQuotaReq
impl Debug for TSetThrottleQuotaReq
source§impl Hash for TSetThrottleQuotaReq
impl Hash for TSetThrottleQuotaReq
source§impl Ord for TSetThrottleQuotaReq
impl Ord for TSetThrottleQuotaReq
source§fn cmp(&self, other: &TSetThrottleQuotaReq) -> Ordering
fn cmp(&self, other: &TSetThrottleQuotaReq) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for TSetThrottleQuotaReq
impl PartialEq for TSetThrottleQuotaReq
source§fn eq(&self, other: &TSetThrottleQuotaReq) -> bool
fn eq(&self, other: &TSetThrottleQuotaReq) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TSetThrottleQuotaReq
impl PartialOrd for TSetThrottleQuotaReq
source§fn partial_cmp(&self, other: &TSetThrottleQuotaReq) -> Option<Ordering>
fn partial_cmp(&self, other: &TSetThrottleQuotaReq) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for TSetThrottleQuotaReq
impl StructuralPartialEq for TSetThrottleQuotaReq
Auto Trait Implementations§
impl Freeze for TSetThrottleQuotaReq
impl RefUnwindSafe for TSetThrottleQuotaReq
impl Send for TSetThrottleQuotaReq
impl Sync for TSetThrottleQuotaReq
impl Unpin for TSetThrottleQuotaReq
impl UnwindSafe for TSetThrottleQuotaReq
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