pub struct TemporalContent {
pub text: String,
pub deliver_at: Option<u64>,
pub expire_at: Option<u64>,
pub temporal_context: Option<String>,
}Expand description
Time-shifted or scheduled content with delivery and expiry windows.
Fields§
§text: StringThe primary text representation.
deliver_at: Option<u64>Unix timestamp for scheduled delivery (None = immediate).
expire_at: Option<u64>Unix timestamp after which the content expires.
temporal_context: Option<String>Additional temporal context description.
Trait Implementations§
Source§impl Clone for TemporalContent
impl Clone for TemporalContent
Source§fn clone(&self) -> TemporalContent
fn clone(&self) -> TemporalContent
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 TemporalContent
impl Debug for TemporalContent
Source§impl<'de> Deserialize<'de> for TemporalContent
impl<'de> Deserialize<'de> for TemporalContent
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 TemporalContent
impl PartialEq for TemporalContent
Source§impl Serialize for TemporalContent
impl Serialize for TemporalContent
impl StructuralPartialEq for TemporalContent
Auto Trait Implementations§
impl Freeze for TemporalContent
impl RefUnwindSafe for TemporalContent
impl Send for TemporalContent
impl Sync for TemporalContent
impl Unpin for TemporalContent
impl UnsafeUnpin for TemporalContent
impl UnwindSafe for TemporalContent
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