Struct redis_module::redisraw::bindings::RedisModuleClientInfo
source · [−]#[repr(C)]pub struct RedisModuleClientInfo {
pub version: u64,
pub flags: u64,
pub id: u64,
pub addr: [c_char; 46],
pub port: u16,
pub db: u16,
}
Fields
version: u64
flags: u64
id: u64
addr: [c_char; 46]
port: u16
db: u16
Trait Implementations
sourceimpl Clone for RedisModuleClientInfo
impl Clone for RedisModuleClientInfo
sourcefn clone(&self) -> RedisModuleClientInfo
fn clone(&self) -> RedisModuleClientInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RedisModuleClientInfo
impl Debug for RedisModuleClientInfo
impl Copy for RedisModuleClientInfo
Auto Trait Implementations
impl RefUnwindSafe for RedisModuleClientInfo
impl Send for RedisModuleClientInfo
impl Sync for RedisModuleClientInfo
impl Unpin for RedisModuleClientInfo
impl UnwindSafe for RedisModuleClientInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more