pub struct IndexResourceSpec {Show 18 fields
pub format_version: u32,
pub revision: U64,
pub initial_shards: u32,
pub target_shard_bytes: U64,
pub durability: ResourceDurabilityClass,
pub storage_class: ResourceStorageClass,
pub ram_admission_weight: u32,
pub ram_hard_max_bytes: U64,
pub nvme_admission_weight: u32,
pub nvme_hard_max_bytes: U64,
pub refresh_objective_millis: u32,
pub memtable_hard_max_bytes: U64,
pub seal_parallelism: u32,
pub merge_parallelism: u32,
pub vector: VectorResourcePolicy,
pub lifecycle_binding: Option<Identity>,
pub encryption_required: bool,
pub resolver_capability: Option<Identity>,
}Fields§
§format_version: u32§revision: U64§initial_shards: u32§target_shard_bytes: U64§durability: ResourceDurabilityClass§storage_class: ResourceStorageClass§ram_admission_weight: u32§ram_hard_max_bytes: U64§nvme_admission_weight: u32§nvme_hard_max_bytes: U64§refresh_objective_millis: u32§memtable_hard_max_bytes: U64§seal_parallelism: u32§merge_parallelism: u32§vector: VectorResourcePolicy§lifecycle_binding: Option<Identity>§encryption_required: bool§resolver_capability: Option<Identity>Trait Implementations§
Source§impl Clone for IndexResourceSpec
impl Clone for IndexResourceSpec
Source§fn clone(&self) -> IndexResourceSpec
fn clone(&self) -> IndexResourceSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IndexResourceSpec
impl Debug for IndexResourceSpec
Source§impl<'de> Deserialize<'de> for IndexResourceSpec
impl<'de> Deserialize<'de> for IndexResourceSpec
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IndexResourceSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IndexResourceSpec, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IndexResourceSpec
impl PartialEq for IndexResourceSpec
Source§impl Serialize for IndexResourceSpec
impl Serialize for IndexResourceSpec
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for IndexResourceSpec
Auto Trait Implementations§
impl Freeze for IndexResourceSpec
impl RefUnwindSafe for IndexResourceSpec
impl Send for IndexResourceSpec
impl Sync for IndexResourceSpec
impl Unpin for IndexResourceSpec
impl UnsafeUnpin for IndexResourceSpec
impl UnwindSafe for IndexResourceSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request