Struct zookeeper_client::Stat
source · [−]pub struct Stat {
pub czxid: i64,
pub mzxid: i64,
pub pzxid: i64,
pub ctime: i64,
pub mtime: i64,
pub version: i32,
pub cversion: i32,
pub aversion: i32,
pub ephemeral_owner: i64,
pub data_length: i32,
pub num_children: i32,
}
Expand description
ZooKeeper node stat.
Fields
czxid: i64
The zxid of the change that caused this znode to be created.
mzxid: i64
The zxid of the change that last modified this znode.
pzxid: i64
The zxid of the change that last modified children of this znode.
ctime: i64
The time in milliseconds from epoch when this znode was created.
mtime: i64
The time in milliseconds from epoch when this znode was last modified.
version: i32
The number of changes to the data of this znode.
cversion: i32
The number of changes to the children of this znode.
aversion: i32
The number of changes to the ACL of this znode.
ephemeral_owner: i64
The session id of the owner of this znode if the znode is an ephemeral node. If it is not an ephemeral node, it will be zero.
data_length: i32
The length of the data field of this znode.
num_children: i32
The number of children of this znode.
Trait Implementations
impl Copy for Stat
impl Eq for Stat
impl StructuralEq for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnwindSafe for Stat
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)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more