pub struct ContentVersion(/* private fields */);Expand description
Carries the content version record payload for journal, event, or fixture surfaces. Creating or cloning it only preserves serialized SDK state; append, publish, replay, or export effects are documented on the runtime and port methods that store it.
Implementations§
Trait Implementations§
Source§impl Clone for ContentVersion
impl Clone for ContentVersion
Source§fn clone(&self) -> ContentVersion
fn clone(&self) -> ContentVersion
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 ContentVersion
impl Debug for ContentVersion
Source§impl<'de> Deserialize<'de> for ContentVersion
impl<'de> Deserialize<'de> for ContentVersion
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 Hash for ContentVersion
impl Hash for ContentVersion
Source§impl Ord for ContentVersion
impl Ord for ContentVersion
Source§fn cmp(&self, other: &ContentVersion) -> Ordering
fn cmp(&self, other: &ContentVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ContentVersion
impl PartialEq for ContentVersion
Source§fn eq(&self, other: &ContentVersion) -> bool
fn eq(&self, other: &ContentVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ContentVersion
impl PartialOrd for ContentVersion
Source§impl Serialize for ContentVersion
impl Serialize for ContentVersion
impl Eq for ContentVersion
impl StructuralPartialEq for ContentVersion
Auto Trait Implementations§
impl Freeze for ContentVersion
impl RefUnwindSafe for ContentVersion
impl Send for ContentVersion
impl Sync for ContentVersion
impl Unpin for ContentVersion
impl UnsafeUnpin for ContentVersion
impl UnwindSafe for ContentVersion
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