pub struct AutoRegisterRequest {
pub install_id: String,
pub registration_secret_hash: String,
pub label: Option<String>,
pub capabilities: WorkerCapabilities,
pub user_agent: String,
}Fields§
§install_id: StringPer-install UUID stable across worker restarts on the same machine. The studio uses it to dedup re-submissions.
registration_secret_hash: StringSHA-256 hex of the worker-side registration_secret. The
worker keeps the secret locally and presents it as a Bearer
token when polling for status; only the hash leaves the box.
label: Option<String>Optional human label the operator sees in the Pending Workers panel (e.g. “alice’s gaming rig”).
capabilities: WorkerCapabilitiesFull capability snapshot — hostname, username, engine, VRAM, supported models so the operator can decide.
user_agent: Stringstudio-worker/<version> so the operator sees stale clients.
Trait Implementations§
Source§impl Clone for AutoRegisterRequest
impl Clone for AutoRegisterRequest
Source§fn clone(&self) -> AutoRegisterRequest
fn clone(&self) -> AutoRegisterRequest
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 AutoRegisterRequest
impl Debug for AutoRegisterRequest
Auto Trait Implementations§
impl Freeze for AutoRegisterRequest
impl RefUnwindSafe for AutoRegisterRequest
impl Send for AutoRegisterRequest
impl Sync for AutoRegisterRequest
impl Unpin for AutoRegisterRequest
impl UnsafeUnpin for AutoRegisterRequest
impl UnwindSafe for AutoRegisterRequest
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