pub enum PartReferenceField {
Id,
CreateDate,
}Expand description
Represents the fields for a PartReference object.
A PartReference is typically a lightweight link to a story part,
often found within a list of parts in a story object.
Variants§
Id
The unique numerical identifier of the story part.
CreateDate
The timestamp when the part was created.
Trait Implementations§
Source§impl Clone for PartReferenceField
impl Clone for PartReferenceField
Source§fn clone(&self) -> PartReferenceField
fn clone(&self) -> PartReferenceField
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 moreimpl Copy for PartReferenceField
Source§impl Debug for PartReferenceField
impl Debug for PartReferenceField
Source§impl DefaultableFields for PartReferenceField
impl DefaultableFields for PartReferenceField
Source§fn default_fields() -> Vec<Self>
fn default_fields() -> Vec<Self>
Returns a vector of the enum’s variants that should be used as the default.
Source§impl Display for PartReferenceField
impl Display for PartReferenceField
impl Eq for PartReferenceField
Source§impl Hash for PartReferenceField
impl Hash for PartReferenceField
Source§impl Ord for PartReferenceField
impl Ord for PartReferenceField
Source§fn cmp(&self, other: &PartReferenceField) -> Ordering
fn cmp(&self, other: &PartReferenceField) -> 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 PartReferenceField
impl PartialEq for PartReferenceField
Source§fn eq(&self, other: &PartReferenceField) -> bool
fn eq(&self, other: &PartReferenceField) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PartReferenceField
impl PartialOrd for PartReferenceField
impl StructuralPartialEq for PartReferenceField
Auto Trait Implementations§
impl Freeze for PartReferenceField
impl RefUnwindSafe for PartReferenceField
impl Send for PartReferenceField
impl Sync for PartReferenceField
impl Unpin for PartReferenceField
impl UnsafeUnpin for PartReferenceField
impl UnwindSafe for PartReferenceField
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.