pub struct MessageTransform {
pub disabled: Option<bool>,
pub enabled: Option<bool>,
pub javascript_udf: Option<JavaScriptUDF>,
}Expand description
All supported message transforms types.
This type is not used in any activity, and only used as part of another schema.
Fields§
§disabled: Option<bool>Optional. If true, the transform is disabled and will not be applied to messages. Defaults to false.
enabled: Option<bool>Optional. This field is deprecated, use the disabled field to disable transforms.
javascript_udf: Option<JavaScriptUDF>Optional. JavaScript User Defined Function. If multiple JavaScriptUDF’s are specified on a resource, each must have a unique function_name.
Trait Implementations§
Source§impl Clone for MessageTransform
impl Clone for MessageTransform
Source§fn clone(&self) -> MessageTransform
fn clone(&self) -> MessageTransform
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 Debug for MessageTransform
impl Debug for MessageTransform
Source§impl Default for MessageTransform
impl Default for MessageTransform
Source§fn default() -> MessageTransform
fn default() -> MessageTransform
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageTransform
impl<'de> Deserialize<'de> for MessageTransform
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 Serialize for MessageTransform
impl Serialize for MessageTransform
impl Part for MessageTransform
Auto Trait Implementations§
impl Freeze for MessageTransform
impl RefUnwindSafe for MessageTransform
impl Send for MessageTransform
impl Sync for MessageTransform
impl Unpin for MessageTransform
impl UnwindSafe for MessageTransform
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