Struct prelude::ModalData
zaun_bot::prelude::ModalData · Struct
pub struct ModalData { … }Fields
Section titled “Fields”custom_id: String
Section titled “custom_id: String”components: Vec<ModalValue>
Section titled “components: Vec<ModalValue>”resolved: Resolved
Section titled “resolved: Resolved”Methods
Section titled “Methods”pub fn text(&self, custom_id: &str) -> Option<&str>The text a modal input with custom_id held.
Trait implementations
Section titled “Trait implementations”Clone, Debug