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