pub struct Operation<'a> { /* private fields */ }Expand description
One operation served from a pack: its index facts and its record.
Implementations§
Source§impl<'a> Operation<'a>
impl<'a> Operation<'a>
Sourcepub fn id(&self) -> &'a str
pub fn id(&self) -> &'a str
The operation id, e.g. zendesk-ticket-show — unique across the whole pack.
Sourcepub fn service(&self) -> &'a str
pub fn service(&self) -> &'a str
The service the operation belongs to — default for a single-surface provider, spelled
out rather than elided, exactly as the document spells it.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Operation<'a>
impl<'a> RefUnwindSafe for Operation<'a>
impl<'a> Send for Operation<'a>
impl<'a> Sync for Operation<'a>
impl<'a> Unpin for Operation<'a>
impl<'a> UnsafeUnpin for Operation<'a>
impl<'a> UnwindSafe for Operation<'a>
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