pub struct Node {Show 34 fields
pub uid: u32,
pub addr: Option<String>,
pub status: String,
pub accept_servers: Option<bool>,
pub architecture: Option<String>,
pub cores: Option<u32>,
pub external_addr: Option<Vec<String>>,
pub total_memory: Option<u64>,
pub os_version: Option<String>,
pub os_name: Option<String>,
pub os_family: Option<String>,
pub os_semantic_version: Option<String>,
pub ephemeral_storage_size: Option<f64>,
pub persistent_storage_size: Option<f64>,
pub ephemeral_storage_path: Option<String>,
pub persistent_storage_path: Option<String>,
pub bigredis_storage_path: Option<String>,
pub rack_id: Option<String>,
pub second_rack_id: Option<String>,
pub shard_count: Option<u32>,
pub shard_list: Option<Vec<u32>>,
pub ram_shard_count: Option<u32>,
pub flash_shard_count: Option<u32>,
pub bigstore_enabled: Option<bool>,
pub fips_enabled: Option<bool>,
pub use_internal_ipv6: Option<bool>,
pub max_listeners: Option<u32>,
pub max_redis_servers: Option<u32>,
pub max_redis_forks: Option<i32>,
pub max_slave_full_syncs: Option<i32>,
pub uptime: Option<u64>,
pub software_version: Option<String>,
pub supported_database_versions: Option<Vec<Value>>,
pub extra: Value,
}
Expand description
Node information
Fields§
§uid: u32
§addr: Option<String>
IP address of the node (renamed from ‘address’ to match API)
status: String
§accept_servers: Option<bool>
Whether node accepts new shards
architecture: Option<String>
System architecture (e.g., “aarch64”, “x86_64”)
cores: Option<u32>
CPU cores (renamed from ‘cpu_cores’ to match API)
external_addr: Option<Vec<String>>
External IP addresses
total_memory: Option<u64>
Total memory in bytes
os_version: Option<String>
OS version information
os_name: Option<String>
§os_family: Option<String>
§os_semantic_version: Option<String>
§ephemeral_storage_size: Option<f64>
Storage sizes (API returns f64, not u64)
persistent_storage_size: Option<f64>
§ephemeral_storage_path: Option<String>
Storage paths
persistent_storage_path: Option<String>
§bigredis_storage_path: Option<String>
§rack_id: Option<String>
Rack configuration
second_rack_id: Option<String>
§shard_count: Option<u32>
Shard information
shard_list: Option<Vec<u32>>
§ram_shard_count: Option<u32>
§flash_shard_count: Option<u32>
§bigstore_enabled: Option<bool>
Features and capabilities
fips_enabled: Option<bool>
§use_internal_ipv6: Option<bool>
§max_listeners: Option<u32>
Limits and settings
max_redis_servers: Option<u32>
§max_redis_forks: Option<i32>
§max_slave_full_syncs: Option<i32>
§uptime: Option<u64>
Runtime information
software_version: Option<String>
§supported_database_versions: Option<Vec<Value>>
Supported Redis versions
extra: Value
Capture any additional fields not explicitly defined
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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