pub struct RequestOwnershipSnapshot {
pub work_owner: WorkOwner,
pub result_stream_owner: StreamOwner,
pub terminal_state_owner: WorkOwner,
}Expand description
Ownership model for request-scoped work.
Fields§
§work_owner: WorkOwner§result_stream_owner: StreamOwner§terminal_state_owner: WorkOwnerImplementations§
Trait Implementations§
Source§impl Clone for RequestOwnershipSnapshot
impl Clone for RequestOwnershipSnapshot
Source§fn clone(&self) -> RequestOwnershipSnapshot
fn clone(&self) -> RequestOwnershipSnapshot
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 RequestOwnershipSnapshot
impl Debug for RequestOwnershipSnapshot
Source§impl<'de> Deserialize<'de> for RequestOwnershipSnapshot
impl<'de> Deserialize<'de> for RequestOwnershipSnapshot
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RequestOwnershipSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RequestOwnershipSnapshot, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RequestOwnershipSnapshot
impl PartialEq for RequestOwnershipSnapshot
Source§impl Serialize for RequestOwnershipSnapshot
impl Serialize for RequestOwnershipSnapshot
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for RequestOwnershipSnapshot
impl StructuralPartialEq for RequestOwnershipSnapshot
Auto Trait Implementations§
impl Freeze for RequestOwnershipSnapshot
impl RefUnwindSafe for RequestOwnershipSnapshot
impl Send for RequestOwnershipSnapshot
impl Sync for RequestOwnershipSnapshot
impl Unpin for RequestOwnershipSnapshot
impl UnsafeUnpin for RequestOwnershipSnapshot
impl UnwindSafe for RequestOwnershipSnapshot
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