pub struct NotesRequest {
pub auth: Option<AuthContext>,
}Expand description
The per-call context every method of the service reads: the identity the connection’s upgrade proved, when one did.
Fields§
§auth: Option<AuthContext>The identity the connection’s upgrade proved (none: anonymous).
Trait Implementations§
Source§impl JsonSchema for NotesRequest
impl JsonSchema for NotesRequest
Source§fn json_schema(_gen: &mut SchemaGenerator) -> Schema
fn json_schema(_gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PlexusRequest for NotesRequest
impl PlexusRequest for NotesRequest
Source§fn extract(ctx: &RawRequestContext) -> Result<Self, PlexusError>
fn extract(ctx: &RawRequestContext) -> Result<Self, PlexusError>
Extract a typed request from the raw HTTP context.
Auto Trait Implementations§
impl Forget for NotesRequest
impl Freeze for NotesRequest
impl Move for NotesRequest
impl RefUnwindSafe for NotesRequest
impl Send for NotesRequest
impl Sync for NotesRequest
impl Unpin for NotesRequest
impl UnsafeUnpin for NotesRequest
impl UnwindSafe for NotesRequest
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