pub struct DispatchedUnknownMessage {Show 18 fields
pub acceptance: Option<Value>,
pub addressed_to: Option<UserSnapshot>,
pub content: Content,
pub created_at: DateTime,
pub failure: Option<Value>,
pub id: MessageId,
pub metadata: ResourceMetadata,
pub parent_message_id: Option<MessageId>,
pub platform: PlatformIdentifier,
pub project_id: ProjectId,
pub received_by: Option<UserSnapshot>,
pub sent_by: UserSnapshot,
pub space: SpaceSnapshot,
pub status: String,
pub timestamp: Option<Value>,
pub timestamps: DispatchedMessageTimestamps,
pub updated_at: DateTime,
pub additional: BTreeMap<String, Value>,
}Fields§
§acceptance: Option<Value>§addressed_to: Option<UserSnapshot>§content: Content§created_at: DateTimeWhen Photon first persisted this resource.
failure: Option<Value>§id: MessageId§metadata: ResourceMetadata§parent_message_id: Option<MessageId>§platform: PlatformIdentifier§project_id: ProjectId§received_by: Option<UserSnapshot>§sent_by: UserSnapshot§space: SpaceSnapshot§status: String§timestamp: Option<Value>§timestamps: DispatchedMessageTimestamps§updated_at: DateTimeWhen Photon last persisted a change to this resource’s public state.
additional: BTreeMap<String, Value>Members the schema does not declare, kept as received.
Trait Implementations§
Source§impl Clone for DispatchedUnknownMessage
impl Clone for DispatchedUnknownMessage
Source§impl Debug for DispatchedUnknownMessage
impl Debug for DispatchedUnknownMessage
Source§impl<'de> Deserialize<'de> for DispatchedUnknownMessage
impl<'de> Deserialize<'de> for DispatchedUnknownMessage
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 DispatchedUnknownMessage
impl RefUnwindSafe for DispatchedUnknownMessage
impl Send for DispatchedUnknownMessage
impl Sync for DispatchedUnknownMessage
impl Unpin for DispatchedUnknownMessage
impl UnsafeUnpin for DispatchedUnknownMessage
impl UnwindSafe for DispatchedUnknownMessage
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