#[non_exhaustive]pub struct ServerInfo {Show 17 fields
pub protocol: &'static str,
pub spec_version: u32,
pub max_pack_bytes: u64,
pub part_size: u64,
pub max_parts: u32,
pub max_list_refs_page_size: u32,
pub begin_upload_threshold_bytes: u64,
pub atomic_advance: bool,
pub indexed_mode: bool,
pub admission: bool,
pub receipt_public_key: Vec<u8>,
pub receipt_key_id: String,
pub grant_schemes: Vec<String>,
pub namespace_policy: &'static str,
pub index_fanout: u32,
pub max_delta_chain_depth: u32,
pub inspection_max_objects: Option<u32>,
}Expand description
Deployment capabilities and limits, independent of any repository.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.protocol: &'static strWire package.
spec_version: u32Transport specification version.
max_pack_bytes: u64Largest accepted pack length.
part_size: u64Resumable upload part size.
max_parts: u32Largest number of parts per upload.
max_list_refs_page_size: u32Largest requested ref count per page.
begin_upload_threshold_bytes: u64Smaller packs may skip BeginUpload; zero with admission or Multi.
atomic_advance: boolWhether AdvanceRefs commits both refs atomically.
indexed_mode: boolWhether pushed packs are decoded and verified.
admission: boolWhether a non-default admission hook is installed.
receipt_public_key: Vec<u8>Storage receipt signing key, empty until receipts are supported.
receipt_key_id: StringStorage receipt key identifier, empty until receipts are supported.
grant_schemes: Vec<String>Accepted grant signature schemes.
namespace_policy: &'static strConfigured namespace policy, or single-repository.
index_fanout: u32Fixed repository index fan-out.
max_delta_chain_depth: u32Delta-chain depth cap; 0 while indexed mode is off (SPEC-SERVER §9.8).
inspection_max_objects: Option<u32>Distinct inspected-object cap per advance; absent without inspectors.