pub struct TraceDbRequestOptions {
pub idempotency_key: Option<String>,
pub actor_context: Option<TraceDbActorContext>,
}Fields§
§idempotency_key: Option<String>§actor_context: Option<TraceDbActorContext>Implementations§
Source§impl TraceDbRequestOptions
impl TraceDbRequestOptions
pub fn new() -> Self
pub fn with_idempotency_key(self, key: impl Into<String>) -> Self
pub fn with_actor_context(self, actor_context: TraceDbActorContext) -> Self
Trait Implementations§
Source§impl Clone for TraceDbRequestOptions
impl Clone for TraceDbRequestOptions
Source§fn clone(&self) -> TraceDbRequestOptions
fn clone(&self) -> TraceDbRequestOptions
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 TraceDbRequestOptions
impl Debug for TraceDbRequestOptions
Source§impl Default for TraceDbRequestOptions
impl Default for TraceDbRequestOptions
Source§fn default() -> TraceDbRequestOptions
fn default() -> TraceDbRequestOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TraceDbRequestOptions
impl<'de> Deserialize<'de> for TraceDbRequestOptions
Source§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
Source§impl PartialEq for TraceDbRequestOptions
impl PartialEq for TraceDbRequestOptions
Source§fn eq(&self, other: &TraceDbRequestOptions) -> bool
fn eq(&self, other: &TraceDbRequestOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TraceDbRequestOptions
impl Serialize for TraceDbRequestOptions
impl Eq for TraceDbRequestOptions
impl StructuralPartialEq for TraceDbRequestOptions
Auto Trait Implementations§
impl Freeze for TraceDbRequestOptions
impl RefUnwindSafe for TraceDbRequestOptions
impl Send for TraceDbRequestOptions
impl Sync for TraceDbRequestOptions
impl Unpin for TraceDbRequestOptions
impl UnsafeUnpin for TraceDbRequestOptions
impl UnwindSafe for TraceDbRequestOptions
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.