pub struct MessagePagePayload {
pub button_label: Option<String>,
pub description: Option<String>,
pub navigation_type: NavigationType,
pub timer_seconds: Option<i32>,
pub title: String,
}Fields§
§description: Option<String>- MESSAGE_PAGE_NAVIGATION_TYPE_UNSPECIFIED: Navigation type not specified - MESSAGE_PAGE_NAVIGATION_TYPE_BUTTON: Visitor clicks a button to proceed - MESSAGE_PAGE_NAVIGATION_TYPE_TIMER: Visitor is automatically redirected after a timer expires
timer_seconds: Option<i32>§title: StringImplementations§
Source§impl MessagePagePayload
impl MessagePagePayload
pub fn new(navigation_type: NavigationType, title: String) -> MessagePagePayload
Trait Implementations§
Source§impl Clone for MessagePagePayload
impl Clone for MessagePagePayload
Source§impl Debug for MessagePagePayload
impl Debug for MessagePagePayload
Source§impl Default for MessagePagePayload
impl Default for MessagePagePayload
Source§impl<'de> Deserialize<'de> for MessagePagePayload
impl<'de> Deserialize<'de> for MessagePagePayload
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 PartialEq for MessagePagePayload
impl PartialEq for MessagePagePayload
Source§impl Serialize for MessagePagePayload
impl Serialize for MessagePagePayload
impl StructuralPartialEq for MessagePagePayload
Auto Trait Implementations§
impl Forget for MessagePagePayload
impl Freeze for MessagePagePayload
impl Move for MessagePagePayload
impl RefUnwindSafe for MessagePagePayload
impl Send for MessagePagePayload
impl Sync for MessagePagePayload
impl Unpin for MessagePagePayload
impl UnsafeUnpin for MessagePagePayload
impl UnwindSafe for MessagePagePayload
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