pub struct ScheduleSummary { /* private fields */ }Expand description
Summary of a schedule returned in list operations.
Provides ergonomic accessors over the raw ScheduleListEntry proto.
Use raw() or into_raw() to access the
full proto when needed.
Implementations§
Source§impl ScheduleSummary
impl ScheduleSummary
Sourcepub fn schedule_id(&self) -> &str
pub fn schedule_id(&self) -> &str
The schedule ID.
Sourcepub fn workflow_type(&self) -> Option<&str>
pub fn workflow_type(&self) -> Option<&str>
The workflow type name for start-workflow actions.
Sourcepub fn note(&self) -> Option<&str>
pub fn note(&self) -> Option<&str>
Note on the schedule state.
Returns None if no note is set or the note is empty.
Sourcepub fn recent_actions(&self) -> Vec<ScheduleRecentAction>
pub fn recent_actions(&self) -> Vec<ScheduleRecentAction>
Most recent action results (up to 10).
Sourcepub fn future_action_times(&self) -> Vec<SystemTime>
pub fn future_action_times(&self) -> Vec<SystemTime>
Next scheduled action times.
Sourcepub fn search_attributes(&self) -> Option<&SearchAttributes>
pub fn search_attributes(&self) -> Option<&SearchAttributes>
Search attributes on the schedule.
Sourcepub fn raw(&self) -> &ScheduleListEntry
pub fn raw(&self) -> &ScheduleListEntry
Access the raw proto for additional fields not exposed via accessors.
Sourcepub fn into_raw(self) -> ScheduleListEntry
pub fn into_raw(self) -> ScheduleListEntry
Consume the wrapper and return the raw proto.
Trait Implementations§
Source§impl Clone for ScheduleSummary
impl Clone for ScheduleSummary
Source§fn clone(&self) -> ScheduleSummary
fn clone(&self) -> ScheduleSummary
Returns a duplicate 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 ScheduleSummary
impl Debug for ScheduleSummary
Source§impl From<ScheduleListEntry> for ScheduleSummary
impl From<ScheduleListEntry> for ScheduleSummary
Source§fn from(raw: ScheduleListEntry) -> Self
fn from(raw: ScheduleListEntry) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ScheduleSummary
impl RefUnwindSafe for ScheduleSummary
impl Send for ScheduleSummary
impl Sync for ScheduleSummary
impl Unpin for ScheduleSummary
impl UnsafeUnpin for ScheduleSummary
impl UnwindSafe for ScheduleSummary
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,
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> 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