[][src]Struct wp_goji_patch::TransitionTriggerOptionsBuilder

pub struct TransitionTriggerOptionsBuilder {
    pub transition: Transition,
    pub fields: BTreeMap<String, Value>,
}

Fields

transition: Transitionfields: BTreeMap<String, Value>

Implementations

impl TransitionTriggerOptionsBuilder[src]

pub fn new<I>(id: I) -> TransitionTriggerOptionsBuilder where
    I: Into<String>, 
[src]

creates a new instance

pub fn field<N, V>(
    &mut self,
    name: N,
    value: V
) -> &mut TransitionTriggerOptionsBuilder where
    N: Into<String>,
    V: Serialize
[src]

appends a field to update as part of transition

pub fn resolution<R>(&mut self, name: R) -> &mut TransitionTriggerOptionsBuilder where
    R: Into<String>, 
[src]

updates resolution in transition

pub fn build(&self) -> TransitionTriggerOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.