pub enum RolloutKey {
Session,
Request,
Tenant,
}Expand description
Which stable identity a rollout holds constant.
Variants§
Session
The x-firstpass-session header — a whole agent run moves together.
The default, because a conversation is the unit a user experiences, so it is the unit
that should be held constant. Falls back to RolloutKey::Request when absent.
Request
The request’s own identity. For stateless single-shot traffic with no session.
Tenant
The tenant — for hosted deployments ramping tenant by tenant.
Implementations§
Trait Implementations§
Source§impl Clone for RolloutKey
impl Clone for RolloutKey
Source§fn clone(&self) -> RolloutKey
fn clone(&self) -> RolloutKey
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 moreimpl Copy for RolloutKey
Source§impl Debug for RolloutKey
impl Debug for RolloutKey
Source§impl Default for RolloutKey
impl Default for RolloutKey
Source§fn default() -> RolloutKey
fn default() -> RolloutKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RolloutKey
impl<'de> Deserialize<'de> for RolloutKey
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
impl Eq for RolloutKey
Source§impl PartialEq for RolloutKey
impl PartialEq for RolloutKey
impl StructuralPartialEq for RolloutKey
Auto Trait Implementations§
impl Freeze for RolloutKey
impl RefUnwindSafe for RolloutKey
impl Send for RolloutKey
impl Sync for RolloutKey
impl Unpin for RolloutKey
impl UnsafeUnpin for RolloutKey
impl UnwindSafe for RolloutKey
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