pub struct SuggestedPostApprovalFailed {
pub suggested_post_message: Option<Box<Message>>,
pub price: SuggestedPostPrice,
}Expand description
Service message: approval of a suggested post failed.
Currently only caused by insufficient user funds at the time of approval.
Fields§
§suggested_post_message: Option<Box<Message>>Message containing the suggested post whose approval failed.
Boxed to break the recursive cycle. Will not contain reply_to_message.
price: SuggestedPostPriceExpected price of the post.
Trait Implementations§
Source§impl Clone for SuggestedPostApprovalFailed
impl Clone for SuggestedPostApprovalFailed
Source§fn clone(&self) -> SuggestedPostApprovalFailed
fn clone(&self) -> SuggestedPostApprovalFailed
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SuggestedPostApprovalFailed
impl Debug for SuggestedPostApprovalFailed
Source§impl<'de> Deserialize<'de> for SuggestedPostApprovalFailed
impl<'de> Deserialize<'de> for SuggestedPostApprovalFailed
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 SuggestedPostApprovalFailed
impl RefUnwindSafe for SuggestedPostApprovalFailed
impl Send for SuggestedPostApprovalFailed
impl Sync for SuggestedPostApprovalFailed
impl Unpin for SuggestedPostApprovalFailed
impl UnsafeUnpin for SuggestedPostApprovalFailed
impl UnwindSafe for SuggestedPostApprovalFailed
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