pub struct View {Show 18 fields
pub id: Option<String>,
pub team_id: Option<String>,
pub type_filed: Option<ViewType>,
pub blocks: Option<Vec<Block>>,
pub private_metadata: Option<String>,
pub callback_id: Option<String>,
pub state: Option<ViewState>,
pub title: Option<TextBlockObject>,
pub close: Option<TextBlockObject>,
pub submit: Option<TextBlockObject>,
pub hash: Option<String>,
pub clear_on_close: Option<bool>,
pub notify_on_close: Option<bool>,
pub root_view_id: Option<String>,
pub previous_view_id: Option<String>,
pub app_id: Option<String>,
pub external_id: Option<String>,
pub bot_id: Option<String>,
}Fields§
§id: Option<String>§team_id: Option<String>§type_filed: Option<ViewType>§blocks: Option<Vec<Block>>§private_metadata: Option<String>§callback_id: Option<String>§state: Option<ViewState>§title: Option<TextBlockObject>§close: Option<TextBlockObject>§submit: Option<TextBlockObject>§hash: Option<String>§clear_on_close: Option<bool>§notify_on_close: Option<bool>§root_view_id: Option<String>§previous_view_id: Option<String>§app_id: Option<String>§external_id: Option<String>§bot_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for View
impl<'de> Deserialize<'de> for View
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
impl StructuralPartialEq for View
Auto Trait Implementations§
impl Freeze for View
impl RefUnwindSafe for View
impl Send for View
impl Sync for View
impl Unpin for View
impl UnwindSafe for View
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