Struct iotdb_client::client::common::TSetSpaceQuotaReq
source · pub struct TSetSpaceQuotaReq {
pub database: Vec<String>,
pub space_limit: TSpaceQuota,
}
Fields§
§database: Vec<String>
§space_limit: TSpaceQuota
Implementations§
source§impl TSetSpaceQuotaReq
impl TSetSpaceQuotaReq
pub fn new(database: Vec<String>, space_limit: TSpaceQuota) -> TSetSpaceQuotaReq
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol ) -> Result<TSetSpaceQuotaReq>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol ) -> Result<()>
Trait Implementations§
source§impl Clone for TSetSpaceQuotaReq
impl Clone for TSetSpaceQuotaReq
source§fn clone(&self) -> TSetSpaceQuotaReq
fn clone(&self) -> TSetSpaceQuotaReq
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 TSetSpaceQuotaReq
impl Debug for TSetSpaceQuotaReq
source§impl Hash for TSetSpaceQuotaReq
impl Hash for TSetSpaceQuotaReq
source§impl Ord for TSetSpaceQuotaReq
impl Ord for TSetSpaceQuotaReq
source§fn cmp(&self, other: &TSetSpaceQuotaReq) -> Ordering
fn cmp(&self, other: &TSetSpaceQuotaReq) -> 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 TSetSpaceQuotaReq
impl PartialEq for TSetSpaceQuotaReq
source§fn eq(&self, other: &TSetSpaceQuotaReq) -> bool
fn eq(&self, other: &TSetSpaceQuotaReq) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TSetSpaceQuotaReq
impl PartialOrd for TSetSpaceQuotaReq
source§fn partial_cmp(&self, other: &TSetSpaceQuotaReq) -> Option<Ordering>
fn partial_cmp(&self, other: &TSetSpaceQuotaReq) -> 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 TSetSpaceQuotaReq
impl StructuralPartialEq for TSetSpaceQuotaReq
Auto Trait Implementations§
impl Freeze for TSetSpaceQuotaReq
impl RefUnwindSafe for TSetSpaceQuotaReq
impl Send for TSetSpaceQuotaReq
impl Sync for TSetSpaceQuotaReq
impl Unpin for TSetSpaceQuotaReq
impl UnwindSafe for TSetSpaceQuotaReq
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