pub struct InternalScaleResponse {
pub success: bool,
pub service: String,
pub replicas: u32,
pub message: Option<String>,
pub reroute_to_os: Option<String>,
}Expand description
Response from internal scale operation
Fields§
§success: boolWhether the operation succeeded
service: StringService name that was scaled
replicas: u32New replica count
message: Option<String>Optional message
reroute_to_os: Option<String>When set, this agent refused the scale because it cannot run the
workload’s OS (H-7 RouteToPeer policy). The value is the OCI-canonical
OS string the workload requires (linux / windows / darwin). The
scheduler catches this and re-dispatches to a cluster peer whose
NodeState.os matches.
Trait Implementations§
Source§impl ComposeSchema for InternalScaleResponse
impl ComposeSchema for InternalScaleResponse
Source§impl Debug for InternalScaleResponse
impl Debug for InternalScaleResponse
Source§impl Serialize for InternalScaleResponse
impl Serialize for InternalScaleResponse
Auto Trait Implementations§
impl Freeze for InternalScaleResponse
impl RefUnwindSafe for InternalScaleResponse
impl Send for InternalScaleResponse
impl Sync for InternalScaleResponse
impl Unpin for InternalScaleResponse
impl UnsafeUnpin for InternalScaleResponse
impl UnwindSafe for InternalScaleResponse
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