pub struct DispatchedTelegramMessage {Show 17 fields
pub acceptance: Option<Value>,
pub addressed_to: Option<UserSnapshot>,
pub content: TelegramMessageContent,
pub created_at: DateTime,
pub failure: Option<Value>,
pub id: MessageId,
pub metadata: ResourceMetadata,
pub parent_message_id: Option<MessageId>,
pub platform: String,
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,
}Fields§
§acceptance: Option<Value>§addressed_to: Option<UserSnapshot>§content: TelegramMessageContent§created_at: DateTimeWhen Photon first persisted this resource.
failure: Option<Value>§id: MessageId§metadata: ResourceMetadata§parent_message_id: Option<MessageId>§platform: String§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.
Implementations§
Source§impl DispatchedTelegramMessage
impl DispatchedTelegramMessage
pub fn serialize<__S>(
__self: &DispatchedTelegramMessage,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> DispatchedTelegramMessage
impl<'de> DispatchedTelegramMessage
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<DispatchedTelegramMessage, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for DispatchedTelegramMessage
impl Clone for DispatchedTelegramMessage
Source§impl Debug for DispatchedTelegramMessage
impl Debug for DispatchedTelegramMessage
Source§impl<'de> Deserialize<'de> for DispatchedTelegramMessage
impl<'de> Deserialize<'de> for DispatchedTelegramMessage
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 DispatchedTelegramMessage
impl RefUnwindSafe for DispatchedTelegramMessage
impl Send for DispatchedTelegramMessage
impl Sync for DispatchedTelegramMessage
impl Unpin for DispatchedTelegramMessage
impl UnsafeUnpin for DispatchedTelegramMessage
impl UnwindSafe for DispatchedTelegramMessage
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