pub struct RegistryMembershipReadiness {
pub registry_path: String,
pub target_port: String,
pub entries_pointer: String,
pub entry_filter: Option<JsonValueMatch>,
pub role_pointer: String,
pub role_values: RegistryRoleValues,
pub address_pointer: String,
pub model_list: Option<ModelListRequirement>,
}Expand description
A framework-neutral registry-membership readiness contract. Every pointer is an RFC 6901 JSON Pointer; entry pointers are evaluated against one registry entry.
Fields§
§registry_path: StringAbsolute HTTP path of the registry on the owning process’s endpoint.
target_port: StringLogical port of each model-serving process whose allocated host:port
the registry entries carry.
entries_pointer: StringPointer from the registry document to the entry array.
entry_filter: Option<JsonValueMatch>Entries whose value at the pointer differs from the expected value are ignored.
role_pointer: String§role_values: RegistryRoleValues§address_pointer: String§model_list: Option<ModelListRequirement>Trait Implementations§
Source§impl Clone for RegistryMembershipReadiness
impl Clone for RegistryMembershipReadiness
Source§impl Debug for RegistryMembershipReadiness
impl Debug for RegistryMembershipReadiness
Source§impl<'de> Deserialize<'de> for RegistryMembershipReadiness
impl<'de> Deserialize<'de> for RegistryMembershipReadiness
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
impl Eq for RegistryMembershipReadiness
Source§impl JsonSchema for RegistryMembershipReadiness
impl JsonSchema for RegistryMembershipReadiness
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 moreimpl StructuralPartialEq for RegistryMembershipReadiness
Auto Trait Implementations§
impl Freeze for RegistryMembershipReadiness
impl RefUnwindSafe for RegistryMembershipReadiness
impl Send for RegistryMembershipReadiness
impl Sync for RegistryMembershipReadiness
impl Unpin for RegistryMembershipReadiness
impl UnsafeUnpin for RegistryMembershipReadiness
impl UnwindSafe for RegistryMembershipReadiness
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