pub trait RequestBehavior: ExpressionBehavior {
    // Required methods
    fn with_note(self, note: impl Into<String>) -> Self;
    fn with_date(self, date: impl AsRef<Date>) -> Self;
    fn body(&self) -> &Expression;
    fn id(&self) -> &ARID;
    fn note(&self) -> &str;
    fn date(&self) -> Option<&Date>;
}

Required Methods§

source

fn with_note(self, note: impl Into<String>) -> Self

Adds a note to the request.

source

fn with_date(self, date: impl AsRef<Date>) -> Self

Adds a date to the request.

source

fn body(&self) -> &Expression

Returns the body of the request.

source

fn id(&self) -> &ARID

Returns the ID of the request.

source

fn note(&self) -> &str

Returns the note of the request.

source

fn date(&self) -> Option<&Date>

Returns the date of the request.

Object Safety§

This trait is not object safe.

Implementors§