pub struct VerdictMap<'a> {
pub key: Expression<'a>,
pub data: Expression<'a>,
}Expand description
Apply a verdict conditionally.
Fields§
§key: Expression<'a>Map key.
data: Expression<'a>Mapping expression consisting of value/verdict pairs.
Trait Implementations§
Source§impl<'a> Clone for VerdictMap<'a>
impl<'a> Clone for VerdictMap<'a>
Source§fn clone(&self) -> VerdictMap<'a>
fn clone(&self) -> VerdictMap<'a>
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<'a> Debug for VerdictMap<'a>
impl<'a> Debug for VerdictMap<'a>
Source§impl<'de, 'a> Deserialize<'de> for VerdictMap<'a>
impl<'de, 'a> Deserialize<'de> for VerdictMap<'a>
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<'a> JsonSchema for VerdictMap<'a>
impl<'a> JsonSchema for VerdictMap<'a>
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl<'a> PartialEq for VerdictMap<'a>
impl<'a> PartialEq for VerdictMap<'a>
Source§impl<'a> Serialize for VerdictMap<'a>
impl<'a> Serialize for VerdictMap<'a>
impl<'a> Eq for VerdictMap<'a>
impl<'a> StructuralPartialEq for VerdictMap<'a>
Auto Trait Implementations§
impl<'a> Freeze for VerdictMap<'a>
impl<'a> RefUnwindSafe for VerdictMap<'a>
impl<'a> Send for VerdictMap<'a>
impl<'a> Sync for VerdictMap<'a>
impl<'a> Unpin for VerdictMap<'a>
impl<'a> UnwindSafe for VerdictMap<'a>
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