pub struct NotificationLog {
pub id: NotificationLogID,
pub response_code: i64,
pub response_content_type: Option<String>,
pub response_body: String,
pub attempted_at: String,
}
Expand description
Represents a notification log entity.
Fields§
§id: NotificationLogID
Unique Paddle ID for this notification log, prefixed with ntflog_
.
response_code: i64
HTTP code sent by the responding server.
response_content_type: Option<String>
Content-Type sent by the responding server.
response_body: String
Response body sent by the responding server. Typically empty for success responses.
attempted_at: String
RFC 3339 datetime string.
Trait Implementations§
Source§impl Clone for NotificationLog
impl Clone for NotificationLog
Source§fn clone(&self) -> NotificationLog
fn clone(&self) -> NotificationLog
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 NotificationLog
impl Debug for NotificationLog
Source§impl<'de> Deserialize<'de> for NotificationLog
impl<'de> Deserialize<'de> for NotificationLog
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 NotificationLog
impl RefUnwindSafe for NotificationLog
impl Send for NotificationLog
impl Sync for NotificationLog
impl Unpin for NotificationLog
impl UnwindSafe for NotificationLog
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