#[non_exhaustive]pub struct TimestampedInclusionAnnotationBuilder { /* private fields */ }Expand description
A builder for TimestampedInclusionAnnotation.
Implementations§
Source§impl TimestampedInclusionAnnotationBuilder
impl TimestampedInclusionAnnotationBuilder
Sourcepub fn value(self, input: InclusionAnnotationValue) -> Self
pub fn value(self, input: InclusionAnnotationValue) -> Self
The inclusion annotation value.
Sourcepub fn set_value(self, input: Option<InclusionAnnotationValue>) -> Self
pub fn set_value(self, input: Option<InclusionAnnotationValue>) -> Self
The inclusion annotation value.
Sourcepub fn get_value(&self) -> &Option<InclusionAnnotationValue>
pub fn get_value(&self) -> &Option<InclusionAnnotationValue>
The inclusion annotation value.
Sourcepub fn last_modified_on(self, input: DateTime) -> Self
pub fn last_modified_on(self, input: DateTime) -> Self
The timestamp when the inclusion annotation was last modified.
Sourcepub fn set_last_modified_on(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_on(self, input: Option<DateTime>) -> Self
The timestamp when the inclusion annotation was last modified.
Sourcepub fn get_last_modified_on(&self) -> &Option<DateTime>
pub fn get_last_modified_on(&self) -> &Option<DateTime>
The timestamp when the inclusion annotation was last modified.
Sourcepub fn build(self) -> TimestampedInclusionAnnotation
pub fn build(self) -> TimestampedInclusionAnnotation
Consumes the builder and constructs a TimestampedInclusionAnnotation.
Trait Implementations§
Source§impl Clone for TimestampedInclusionAnnotationBuilder
impl Clone for TimestampedInclusionAnnotationBuilder
Source§fn clone(&self) -> TimestampedInclusionAnnotationBuilder
fn clone(&self) -> TimestampedInclusionAnnotationBuilder
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 Default for TimestampedInclusionAnnotationBuilder
impl Default for TimestampedInclusionAnnotationBuilder
Source§fn default() -> TimestampedInclusionAnnotationBuilder
fn default() -> TimestampedInclusionAnnotationBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for TimestampedInclusionAnnotationBuilder
impl PartialEq for TimestampedInclusionAnnotationBuilder
Source§fn eq(&self, other: &TimestampedInclusionAnnotationBuilder) -> bool
fn eq(&self, other: &TimestampedInclusionAnnotationBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimestampedInclusionAnnotationBuilder
Auto Trait Implementations§
impl Freeze for TimestampedInclusionAnnotationBuilder
impl RefUnwindSafe for TimestampedInclusionAnnotationBuilder
impl Send for TimestampedInclusionAnnotationBuilder
impl Sync for TimestampedInclusionAnnotationBuilder
impl Unpin for TimestampedInclusionAnnotationBuilder
impl UnsafeUnpin for TimestampedInclusionAnnotationBuilder
impl UnwindSafe for TimestampedInclusionAnnotationBuilder
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<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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.