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