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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.