pub struct ServerParam {
pub col_type: i32,
pub prec: i32,
pub scale: i32,
pub io_type: i32,
}Expand description
服务器返回的参数元信息(cmd=5 响应 serverParams)。
Fields§
§col_type: i32§prec: i32§scale: i32§io_type: i32Trait Implementations§
Source§impl Clone for ServerParam
impl Clone for ServerParam
Source§fn clone(&self) -> ServerParam
fn clone(&self) -> ServerParam
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ServerParam
Auto Trait Implementations§
impl Freeze for ServerParam
impl RefUnwindSafe for ServerParam
impl Send for ServerParam
impl Sync for ServerParam
impl Unpin for ServerParam
impl UnsafeUnpin for ServerParam
impl UnwindSafe for ServerParam
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