pub enum CronCatValueIndex {
Key(String),
Index(u64),
}
Variants§
Trait Implementations§
source§impl Clone for ValueIndex
impl Clone for ValueIndex
source§fn clone(&self) -> ValueIndex
fn clone(&self) -> ValueIndex
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 ValueIndex
impl Debug for ValueIndex
source§impl<'de> Deserialize<'de> for ValueIndex
impl<'de> Deserialize<'de> for ValueIndex
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ValueIndex, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<ValueIndex, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<String> for ValueIndex
impl From<String> for ValueIndex
source§fn from(s: String) -> ValueIndex
fn from(s: String) -> ValueIndex
Converts to this type from the input type.
source§impl From<u64> for ValueIndex
impl From<u64> for ValueIndex
source§fn from(i: u64) -> ValueIndex
fn from(i: u64) -> ValueIndex
Converts to this type from the input type.
source§impl JsonSchema for ValueIndex
impl JsonSchema for ValueIndex
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq<ValueIndex> for ValueIndex
impl PartialEq<ValueIndex> for ValueIndex
source§fn eq(&self, other: &ValueIndex) -> bool
fn eq(&self, other: &ValueIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ValueIndex
impl Serialize for ValueIndex
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 StructuralPartialEq for ValueIndex
Auto Trait Implementations§
impl RefUnwindSafe for ValueIndex
impl Send for ValueIndex
impl Sync for ValueIndex
impl Unpin for ValueIndex
impl UnwindSafe for ValueIndex
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