pub struct OutgoingEnvelope {
pub id: Guid,
pub sortindex: Option<i32>,
pub ttl: Option<u32>,
}
Expand description
An envelope for an outgoing item. This is conceptually identical to
IncomingEnvelope, but omits fields that are only set by the server,
like modified
.
Fields§
§id: Guid
The ID of the record.
sortindex: Option<i32>
§ttl: Option<u32>
Trait Implementations§
source§impl Clone for OutgoingEnvelope
impl Clone for OutgoingEnvelope
source§fn clone(&self) -> OutgoingEnvelope
fn clone(&self) -> OutgoingEnvelope
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 OutgoingEnvelope
impl Debug for OutgoingEnvelope
source§impl Default for OutgoingEnvelope
impl Default for OutgoingEnvelope
source§fn default() -> OutgoingEnvelope
fn default() -> OutgoingEnvelope
Returns the “default value” for a type. Read more
source§impl From<Guid> for OutgoingEnvelope
impl From<Guid> for OutgoingEnvelope
Allow an outgoing envelope to be constructed with just a guid when default values for the other fields are OK.
Auto Trait Implementations§
impl Freeze for OutgoingEnvelope
impl RefUnwindSafe for OutgoingEnvelope
impl Send for OutgoingEnvelope
impl Sync for OutgoingEnvelope
impl Unpin for OutgoingEnvelope
impl UnwindSafe for OutgoingEnvelope
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more