pub struct ServerProperties {
pub version: String,
pub supported_time_aggregation_operations: Vec<String>,
pub timestamp_precision: String,
}
Fields§
§version: String
§supported_time_aggregation_operations: Vec<String>
§timestamp_precision: String
Implementations§
Source§impl ServerProperties
impl ServerProperties
pub fn new( version: String, supported_time_aggregation_operations: Vec<String>, timestamp_precision: String, ) -> ServerProperties
pub fn read_from_in_protocol( i_prot: &mut dyn TInputProtocol, ) -> Result<ServerProperties>
pub fn write_to_out_protocol( &self, o_prot: &mut dyn TOutputProtocol, ) -> Result<()>
Trait Implementations§
Source§impl Clone for ServerProperties
impl Clone for ServerProperties
Source§fn clone(&self) -> ServerProperties
fn clone(&self) -> ServerProperties
Returns a duplicate 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 ServerProperties
impl Debug for ServerProperties
Source§impl Hash for ServerProperties
impl Hash for ServerProperties
Source§impl Ord for ServerProperties
impl Ord for ServerProperties
Source§fn cmp(&self, other: &ServerProperties) -> Ordering
fn cmp(&self, other: &ServerProperties) -> 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 ServerProperties
impl PartialEq for ServerProperties
Source§impl PartialOrd for ServerProperties
impl PartialOrd for ServerProperties
impl Eq for ServerProperties
impl StructuralPartialEq for ServerProperties
Auto Trait Implementations§
impl Freeze for ServerProperties
impl RefUnwindSafe for ServerProperties
impl Send for ServerProperties
impl Sync for ServerProperties
impl Unpin for ServerProperties
impl UnwindSafe for ServerProperties
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