pub struct PostbackContent {
pub data: String,
pub params: Option<HashMap<String, String>>,
}Fields§
§data: StringPostback data
params: Option<HashMap<String, String>>Implementations§
Source§impl PostbackContent
impl PostbackContent
pub fn new(data: String) -> PostbackContent
Trait Implementations§
Source§impl Clone for PostbackContent
impl Clone for PostbackContent
Source§fn clone(&self) -> PostbackContent
fn clone(&self) -> PostbackContent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PostbackContent
impl Debug for PostbackContent
Source§impl Default for PostbackContent
impl Default for PostbackContent
Source§fn default() -> PostbackContent
fn default() -> PostbackContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostbackContent
impl<'de> Deserialize<'de> for PostbackContent
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 PostbackContent
impl PartialEq for PostbackContent
Source§impl Serialize for PostbackContent
impl Serialize for PostbackContent
impl StructuralPartialEq for PostbackContent
Auto Trait Implementations§
impl Freeze for PostbackContent
impl RefUnwindSafe for PostbackContent
impl Send for PostbackContent
impl Sync for PostbackContent
impl Unpin for PostbackContent
impl UnwindSafe for PostbackContent
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