pub struct BtnJson {
pub title: Option<String>,
pub action_url: Option<String>,
}
Fields§
§title: Option<String>
使用独立跳转ActionCard样式时的按钮的标题,最长20个字符
action_url: Option<String>
使用独立跳转ActionCard样式时的跳转链接,最长700个字符
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BtnJson
impl<'de> Deserialize<'de> for BtnJson
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
Auto Trait Implementations§
impl Freeze for BtnJson
impl RefUnwindSafe for BtnJson
impl Send for BtnJson
impl Sync for BtnJson
impl Unpin for BtnJson
impl UnwindSafe for BtnJson
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