pub struct TimelineContext {
pub platform: Option<PlatformCapabilities>,
pub state: Arc<Mutex<CustomerState>>,
}Expand description
ctx.timeline — append Customer Hub timeline activities.
Fields§
§platform: Option<PlatformCapabilities>§state: Arc<Mutex<CustomerState>>Implementations§
Trait Implementations§
Source§impl Clone for TimelineContext
impl Clone for TimelineContext
Source§fn clone(&self) -> TimelineContext
fn clone(&self) -> TimelineContext
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for TimelineContext
impl !UnwindSafe for TimelineContext
impl Freeze for TimelineContext
impl Send for TimelineContext
impl Sync for TimelineContext
impl Unpin for TimelineContext
impl UnsafeUnpin for TimelineContext
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