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 · 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 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
Source§impl PartialEq for PartReferenceField
impl PartialEq for PartReferenceField
impl Copy for PartReferenceField
impl Eq 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 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> 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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.