Trait AnnotateAble

Source
pub trait AnnotateAble: Sealed {
    // Provided methods
    fn optional_annotate(
        self,
        annotations: Option<Annotations>,
    ) -> Annotated<Self>
       where Self: Sized { ... }
    fn annotate(self, annotations: Annotations) -> Annotated<Self>
       where Self: Sized { ... }
    fn no_annotation(self) -> Annotated<Self>
       where Self: Sized { ... }
    fn with_audience(self, audience: Vec<Role>) -> Annotated<Self>
       where Self: Sized { ... }
    fn with_priority(self, priority: f32) -> Annotated<Self>
       where Self: Sized { ... }
    fn with_timestamp(self, timestamp: DateTime<Utc>) -> Annotated<Self>
       where Self: Sized { ... }
    fn with_timestamp_now(self) -> Annotated<Self>
       where Self: Sized { ... }
}

Provided Methods§

Source

fn optional_annotate(self, annotations: Option<Annotations>) -> Annotated<Self>
where Self: Sized,

Source

fn annotate(self, annotations: Annotations) -> Annotated<Self>
where Self: Sized,

Source

fn no_annotation(self) -> Annotated<Self>
where Self: Sized,

Source

fn with_audience(self, audience: Vec<Role>) -> Annotated<Self>
where Self: Sized,

Source

fn with_priority(self, priority: f32) -> Annotated<Self>
where Self: Sized,

Source

fn with_timestamp(self, timestamp: DateTime<Utc>) -> Annotated<Self>
where Self: Sized,

Source

fn with_timestamp_now(self) -> Annotated<Self>
where Self: Sized,

Implementors§