pub trait SuotarRequestItem: Serialize {
// Required method
fn request_item_id(&self) -> &str;
// Provided method
fn student_number(&self) -> Option<&SecretString> { ... }
}Expand description
Suotar echoes the requestItemId back, which is what makes a reordered or partial response safe to read.
Required Methods§
fn request_item_id(&self) -> &str
Provided Methods§
Sourcefn student_number(&self) -> Option<&SecretString>
fn student_number(&self) -> Option<&SecretString>
The student number the item asks about, for the items that carry one.
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.