pub struct ServeRoleResult {
pub id: String,
pub kind: ServeRoleKind,
pub declared_replica_count: u32,
pub effective_replica_count: u32,
pub effective_settings: BTreeMap<String, SettingValue>,
pub effective_parallelism: Parallelism,
}Expand description
A role as the integration resolved it: preserved identity and cardinality with the complete effective settings and parallelism.
Fields§
§id: String§kind: ServeRoleKind§declared_replica_count: u32§effective_replica_count: u32§effective_settings: BTreeMap<String, SettingValue>§effective_parallelism: ParallelismTrait Implementations§
Source§impl Clone for ServeRoleResult
impl Clone for ServeRoleResult
Source§fn clone(&self) -> ServeRoleResult
fn clone(&self) -> ServeRoleResult
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 ServeRoleResult
impl Debug for ServeRoleResult
Source§impl<'de> Deserialize<'de> for ServeRoleResult
impl<'de> Deserialize<'de> for ServeRoleResult
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
Source§impl JsonSchema for ServeRoleResult
impl JsonSchema for ServeRoleResult
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ServeRoleResult
impl PartialEq for ServeRoleResult
Source§impl Serialize for ServeRoleResult
impl Serialize for ServeRoleResult
impl StructuralPartialEq for ServeRoleResult
Auto Trait Implementations§
impl Freeze for ServeRoleResult
impl RefUnwindSafe for ServeRoleResult
impl Send for ServeRoleResult
impl Sync for ServeRoleResult
impl Unpin for ServeRoleResult
impl UnsafeUnpin for ServeRoleResult
impl UnwindSafe for ServeRoleResult
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