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