pub enum GlobalAccountDataTestEvent {
PushRules,
Tags,
Custom(JsonValue),
}
Expand description
Test events that can be added to the global account data.
Variants
PushRules
Tags
Custom(JsonValue)
Implementations
sourceimpl GlobalAccountDataTestEvent
impl GlobalAccountDataTestEvent
sourcepub fn into_json_value(self) -> JsonValue
pub fn into_json_value(self) -> JsonValue
Get the JSON representation of this test event.
sourcepub fn into_raw_event(self) -> Raw<AnyGlobalAccountDataEvent>
pub fn into_raw_event(self) -> Raw<AnyGlobalAccountDataEvent>
Get the typed JSON representation of this test event.
Auto Trait Implementations
impl RefUnwindSafe for GlobalAccountDataTestEvent
impl Send for GlobalAccountDataTestEvent
impl Sync for GlobalAccountDataTestEvent
impl Unpin for GlobalAccountDataTestEvent
impl UnwindSafe for GlobalAccountDataTestEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more