Struct OutboxPageItem
pub struct OutboxPageItem {
pub cursor: OutboxCursor,
pub record: OutboxRecord,
}Expand description
One record in a bounded outbox page.
Fields§
§cursor: OutboxCursorThe cursor immediately after this record.
record: OutboxRecordThe current durable outbox payload.
Implementations§
§impl OutboxPageItem
impl OutboxPageItem
pub const fn new(cursor: OutboxCursor, record: OutboxRecord) -> Self
pub const fn new(cursor: OutboxCursor, record: OutboxRecord) -> Self
Creates a page item from its post-record cursor and payload.
Trait Implementations§
§impl Clone for OutboxPageItem
impl Clone for OutboxPageItem
§fn clone(&self) -> OutboxPageItem
fn clone(&self) -> OutboxPageItem
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 more§impl Debug for OutboxPageItem
impl Debug for OutboxPageItem
§impl<'de> Deserialize<'de> for OutboxPageItem
impl<'de> Deserialize<'de> for OutboxPageItem
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for OutboxPageItem
impl PartialEq for OutboxPageItem
§impl Serialize for OutboxPageItem
impl Serialize for OutboxPageItem
impl StructuralPartialEq for OutboxPageItem
Auto Trait Implementations§
impl Freeze for OutboxPageItem
impl RefUnwindSafe for OutboxPageItem
impl Send for OutboxPageItem
impl Sync for OutboxPageItem
impl Unpin for OutboxPageItem
impl UnsafeUnpin for OutboxPageItem
impl UnwindSafe for OutboxPageItem
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