pub struct SignInBody {
pub token: String,
}Expand description
POST /api/session body.
Fields§
§token: StringThe raw pspo_… token pasted by the operator.
Trait Implementations§
Source§impl Clone for SignInBody
impl Clone for SignInBody
Source§fn clone(&self) -> SignInBody
fn clone(&self) -> SignInBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SignInBody
Manual Debug: token is the raw, still-usable credential (spec §3 —
tokens are never in unredacted Debug), so it’s never printed.
impl Debug for SignInBody
Manual Debug: token is the raw, still-usable credential (spec §3 —
tokens are never in unredacted Debug), so it’s never printed.
Source§impl<'de> Deserialize<'de> for SignInBody
impl<'de> Deserialize<'de> for SignInBody
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SignInBody
Source§impl JsonSchema for SignInBody
impl JsonSchema for SignInBody
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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 PartialEq for SignInBody
impl PartialEq for SignInBody
Source§impl Serialize for SignInBody
impl Serialize for SignInBody
impl StructuralPartialEq for SignInBody
Auto Trait Implementations§
impl Freeze for SignInBody
impl RefUnwindSafe for SignInBody
impl Send for SignInBody
impl Sync for SignInBody
impl Unpin for SignInBody
impl UnsafeUnpin for SignInBody
impl UnwindSafe for SignInBody
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