pub struct SourceOffset { /* private fields */ }Expand description
The source coordinates of one delivery, as EosPipeline::publish needs them.
In a handler, take them as a Ctx(source): Ctx<Source> extractor parameter, or read the
keys::Source field off a declared ctx parameter.
Implementations§
Source§impl SourceOffset
impl SourceOffset
Trait Implementations§
Source§impl Clone for SourceOffset
impl Clone for SourceOffset
Source§fn clone(&self) -> SourceOffset
fn clone(&self) -> SourceOffset
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 SourceOffset
impl Debug for SourceOffset
impl Eq for SourceOffset
Source§impl PartialEq for SourceOffset
impl PartialEq for SourceOffset
impl StructuralPartialEq for SourceOffset
Auto Trait Implementations§
impl Freeze for SourceOffset
impl RefUnwindSafe for SourceOffset
impl Send for SourceOffset
impl Sync for SourceOffset
impl Unpin for SourceOffset
impl UnsafeUnpin for SourceOffset
impl UnwindSafe for SourceOffset
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