pub struct ModelMetadataRecord {
pub source_id: String,
pub worker_id: String,
pub model_name: String,
pub workers: Vec<WorkerRecord>,
pub published_at: i64,
pub identity: Option<SourceIdentity>,
}Expand description
Model metadata record returned from backends
Fields§
§source_id: String16-char hex key derived from SourceIdentity hash
worker_id: StringUnique identifier for this running worker (UUID)
model_name: StringHuman-readable model name from SourceIdentity
workers: Vec<WorkerRecord>§published_at: i64§identity: Option<SourceIdentity>Full SourceIdentity that produced source_id.
Older records (written before this field was added) leave it None.
New v2 RL clients (NemoRL update_weights_via_mx) read framework-level
state from identity.extra_parameters (training_step, role, shape
registry, dirty experts). Backends are responsible for round-tripping
the entire SourceIdentity message; pre-existing records continue to
work because the field is optional.
Trait Implementations§
Source§impl Clone for ModelMetadataRecord
impl Clone for ModelMetadataRecord
Auto Trait Implementations§
impl Forget for ModelMetadataRecord
impl Freeze for ModelMetadataRecord
impl Move for ModelMetadataRecord
impl RefUnwindSafe for ModelMetadataRecord
impl Send for ModelMetadataRecord
impl Sync for ModelMetadataRecord
impl Unpin for ModelMetadataRecord
impl UnsafeUnpin for ModelMetadataRecord
impl UnwindSafe for ModelMetadataRecord
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> ErasedDestructor for Twhere
T: 'static,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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::RequestSource§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