pub enum OperationTemplateLanguagePropertyKind {
Core(CoreTemplatePropertyKind<'static>),
Operation(OperationTemplatePropertyKind<'static>),
}Expand description
Tagged property types available in OperationTemplateLanguage.
Variants§
Core(CoreTemplatePropertyKind<'static>)
Operation(OperationTemplatePropertyKind<'static>)
Trait Implementations§
Source§impl CoreTemplatePropertyVar<'static> for OperationTemplateLanguagePropertyKind
impl CoreTemplatePropertyVar<'static> for OperationTemplateLanguagePropertyKind
fn wrap_template(template: Box<dyn Template>) -> Self
fn wrap_list_template(template: Box<dyn ListTemplate>) -> Self
fn try_into_boolean(self) -> Option<BoxedTemplateProperty<'static, bool>>
fn try_into_integer(self) -> Option<BoxedTemplateProperty<'static, i64>>
Source§fn try_into_stringify(self) -> Option<BoxedTemplateProperty<'static, String>>
fn try_into_stringify(self) -> Option<BoxedTemplateProperty<'static, String>>
Transforms into a string property by formatting the value if needed.
fn try_into_serialize(self) -> Option<BoxedSerializeProperty<'static>>
fn try_into_template(self) -> Option<Box<dyn Template>>
Source§fn try_into_eq(
self,
other: Self,
) -> Option<BoxedTemplateProperty<'static, bool>>
fn try_into_eq( self, other: Self, ) -> Option<BoxedTemplateProperty<'static, bool>>
Transforms into a property that will evaluate to
self == other.Source§fn try_into_cmp(
self,
other: Self,
) -> Option<BoxedTemplateProperty<'static, Ordering>>
fn try_into_cmp( self, other: Self, ) -> Option<BoxedTemplateProperty<'static, Ordering>>
Transforms into a property that will evaluate to an
Ordering.Source§impl WrapTemplateProperty<'static, (usize, Option<usize>)> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, (usize, Option<usize>)> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, SizeHint>) -> Self
Source§impl WrapTemplateProperty<'static, Email> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, Email> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, Email>) -> Self
Source§impl WrapTemplateProperty<'static, Operation> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, Operation> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, Operation>) -> Self
Source§impl WrapTemplateProperty<'static, OperationId> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, OperationId> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, OperationId>) -> Self
Source§impl WrapTemplateProperty<'static, Option<Operation>> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, Option<Operation>> for OperationTemplateLanguagePropertyKind
fn wrap_property( property: BoxedTemplateProperty<'static, Option<Operation>>, ) -> Self
Source§impl WrapTemplateProperty<'static, Option<i64>> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, Option<i64>> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, Option<i64>>) -> Self
Source§impl WrapTemplateProperty<'static, Signature> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, Signature> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, Signature>) -> Self
Source§impl WrapTemplateProperty<'static, String> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, String> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, String>) -> Self
Source§impl WrapTemplateProperty<'static, Timestamp> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, Timestamp> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, Timestamp>) -> Self
Source§impl WrapTemplateProperty<'static, TimestampRange> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, TimestampRange> for OperationTemplateLanguagePropertyKind
fn wrap_property( property: BoxedTemplateProperty<'static, TimestampRange>, ) -> Self
Source§impl WrapTemplateProperty<'static, Value> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, Value> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, ConfigValue>) -> Self
Source§impl WrapTemplateProperty<'static, Vec<Operation>> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, Vec<Operation>> for OperationTemplateLanguagePropertyKind
fn wrap_property( property: BoxedTemplateProperty<'static, Vec<Operation>>, ) -> Self
Source§impl WrapTemplateProperty<'static, Vec<String>> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, Vec<String>> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, Vec<String>>) -> Self
Source§impl WrapTemplateProperty<'static, bool> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, bool> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, bool>) -> Self
Source§impl WrapTemplateProperty<'static, i64> for OperationTemplateLanguagePropertyKind
impl WrapTemplateProperty<'static, i64> for OperationTemplateLanguagePropertyKind
fn wrap_property(property: BoxedTemplateProperty<'static, i64>) -> Self
impl OperationTemplatePropertyVar<'static> for OperationTemplateLanguagePropertyKind
Auto Trait Implementations§
impl Freeze for OperationTemplateLanguagePropertyKind
impl !RefUnwindSafe for OperationTemplateLanguagePropertyKind
impl !Send for OperationTemplateLanguagePropertyKind
impl !Sync for OperationTemplateLanguagePropertyKind
impl Unpin for OperationTemplateLanguagePropertyKind
impl !UnwindSafe for OperationTemplateLanguagePropertyKind
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more