Enum nakadion::api::PartitionStrategy [−][src]
pub enum PartitionStrategy { Random, Hash, UserDefined, }
The partition strategy of an event type.
For more information see Event Type
Variants
Random
Hash
UserDefined
Trait Implementations
impl Debug for PartitionStrategy
[src]
impl Debug for PartitionStrategy
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for PartitionStrategy
[src]
impl Clone for PartitionStrategy
fn clone(&self) -> PartitionStrategy
[src]
fn clone(&self) -> PartitionStrategy
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for PartitionStrategy
[src]
impl Copy for PartitionStrategy
impl Serialize for PartitionStrategy
[src]
impl Serialize for PartitionStrategy
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for PartitionStrategy
[src]
impl<'de> Deserialize<'de> for PartitionStrategy
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl Send for PartitionStrategy
impl Send for PartitionStrategy
impl Sync for PartitionStrategy
impl Sync for PartitionStrategy