#[non_exhaustive]pub struct UpdateWorkerScheduleOutput {
pub assigned_sessions: HashMap<String, AssignedSession>,
pub cancel_session_actions: HashMap<String, Vec<String>>,
pub desired_worker_status: Option<DesiredWorkerStatus>,
pub update_interval_seconds: i32,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.assigned_sessions: HashMap<String, AssignedSession>
The assigned sessions to update.
cancel_session_actions: HashMap<String, Vec<String>>
The session actions associated with the worker schedule to cancel.
desired_worker_status: Option<DesiredWorkerStatus>
The status to update the worker to.
update_interval_seconds: i32
Updates the time interval (in seconds) for the schedule.
Implementations§
source§impl UpdateWorkerScheduleOutput
impl UpdateWorkerScheduleOutput
sourcepub fn assigned_sessions(&self) -> &HashMap<String, AssignedSession>
pub fn assigned_sessions(&self) -> &HashMap<String, AssignedSession>
The assigned sessions to update.
sourcepub fn cancel_session_actions(&self) -> &HashMap<String, Vec<String>>
pub fn cancel_session_actions(&self) -> &HashMap<String, Vec<String>>
The session actions associated with the worker schedule to cancel.
sourcepub fn desired_worker_status(&self) -> Option<&DesiredWorkerStatus>
pub fn desired_worker_status(&self) -> Option<&DesiredWorkerStatus>
The status to update the worker to.
sourcepub fn update_interval_seconds(&self) -> i32
pub fn update_interval_seconds(&self) -> i32
Updates the time interval (in seconds) for the schedule.
source§impl UpdateWorkerScheduleOutput
impl UpdateWorkerScheduleOutput
sourcepub fn builder() -> UpdateWorkerScheduleOutputBuilder
pub fn builder() -> UpdateWorkerScheduleOutputBuilder
Creates a new builder-style object to manufacture UpdateWorkerScheduleOutput
.
Trait Implementations§
source§impl Clone for UpdateWorkerScheduleOutput
impl Clone for UpdateWorkerScheduleOutput
source§fn clone(&self) -> UpdateWorkerScheduleOutput
fn clone(&self) -> UpdateWorkerScheduleOutput
Returns a copy of the value. Read more
1.0.0 · 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 UpdateWorkerScheduleOutput
impl Debug for UpdateWorkerScheduleOutput
source§impl PartialEq for UpdateWorkerScheduleOutput
impl PartialEq for UpdateWorkerScheduleOutput
source§fn eq(&self, other: &UpdateWorkerScheduleOutput) -> bool
fn eq(&self, other: &UpdateWorkerScheduleOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for UpdateWorkerScheduleOutput
impl RequestId for UpdateWorkerScheduleOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for UpdateWorkerScheduleOutput
Auto Trait Implementations§
impl Freeze for UpdateWorkerScheduleOutput
impl RefUnwindSafe for UpdateWorkerScheduleOutput
impl Send for UpdateWorkerScheduleOutput
impl Sync for UpdateWorkerScheduleOutput
impl Unpin for UpdateWorkerScheduleOutput
impl UnwindSafe for UpdateWorkerScheduleOutput
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> 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>
Creates a shared type from an unshared type.