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§
Sourcefn body(&self) -> &Expression
fn body(&self) -> &Expression
Returns the body of the request.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.