2022-11-04 01:07:22 +01:00
<!DOCTYPE html> < html lang = "en" > < head > < meta charset = "utf-8" > < meta name = "viewport" content = "width=device-width, initial-scale=1.0" > < meta name = "generator" content = "rustdoc" > < meta name = "description" content = "API documentation for the Rust `AuthorisationRequestOidc` struct in crate `kanidm_proto`." > < meta name = "keywords" content = "rust, rustlang, rust-lang, AuthorisationRequestOidc" > < title > AuthorisationRequestOidc in kanidm_proto::oauth2 - Rust< / title > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../SourceSerif4-Regular.ttf.woff2" > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../FiraSans-Regular.woff2" > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../FiraSans-Medium.woff2" > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../SourceCodePro-Regular.ttf.woff2" > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../SourceSerif4-Bold.ttf.woff2" > < link rel = "preload" as = "font" type = "font/woff2" crossorigin href = "../../SourceCodePro-Semibold.ttf.woff2" > < link rel = "stylesheet" href = "../../normalize.css" > < link rel = "stylesheet" href = "../../rustdoc.css" id = "mainThemeStyle" > < link rel = "stylesheet" href = "../../ayu.css" disabled > < link rel = "stylesheet" href = "../../dark.css" disabled > < link rel = "stylesheet" href = "../../light.css" id = "themeStyle" > < script id = "default-settings" > < / script > < script src = "../../storage.js" > < / script > < script defer src = "sidebar-items.js" > < / script > < script defer src = "../../main.js" > < / script > < noscript > < link rel = "stylesheet" href = "../../noscript.css" > < / noscript > < link rel = "alternate icon" type = "image/png" href = "../../favicon-16x16.png" > < link rel = "alternate icon" type = "image/png" href = "../../favicon-32x32.png" > < link rel = "icon" type = "image/svg+xml" href = "../../favicon.svg" > < / head > < body class = "rustdoc struct" > <!-- [if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif] --> < nav class = "mobile-topbar" > < button class = "sidebar-menu-toggle" > ☰ < / button > < a class = "sidebar-logo" href = "../../kanidm_proto/index.html" > < div class = "logo-container" > < img class = "rust-logo" src = "../../rust-logo.svg" alt = "logo" > < / div > < / a > < h2 class = "location" > < / h2 > < / nav > < nav class = "sidebar" > < a class = "sidebar-logo" href = "../../kanidm_proto/index.html" > < div class = "logo-container" > < img class = "rust-logo" src = "../../rust-logo.svg" alt = "logo" > < / div > < / a > < h2 class = "location" > < a href = "#" > AuthorisationRequestOidc< / a > < / h2 > < div class = "sidebar-elems" > < section > < div class = "block" > < h3 class = "sidebar-title" > < a href = "#fields" > Fields< / a > < / h3 > < ul > < li > < a href = "#structfield.acr" > acr< / a > < / li > < li > < a href = "#structfield.claims_locales" > claims_locales< / a > < / li > < li > < a href = "#structfield.display" > display< / a > < / li > < li > < a href = "#structfield.id_token_hint" > id_token_hint< / a > < / li > < li > < a href = "#structfield.login_hint" > login_hint< / a > < / li > < li > < a href = "#structfield.max_age" > max_age< / a > < / li > < li > < a href = "#structfield.prompt" > prompt< / a > < / li > < li > < a href = "#structfield.ui_locales" > ui_locales< / a > < / li > < / ul > < / div > < div class = "block" > < h3 class = "sidebar-title" > < a href = "#trait-implementations" > Trait Implementations< / a > < / h3 > < ul > < li > < a href = "#impl-Clone-for-AuthorisationRequestOidc" > Clone< / a > < / li > < li > < a href = "#impl-Debug-for-AuthorisationRequestOidc" > Debug< / a > < / li > < li > < a href = "#impl-Default-for-AuthorisationRequestOidc" > Default< / a > < / li > < li > < a href = "#impl-Deserialize%3C%27de%3E-for-AuthorisationRequestOidc" > Deserialize< ' de> < / a > < / li > < li > < a href = "#impl-Serialize-for-AuthorisationRequestOidc" > Serialize< / a > < / li > < / ul > < / div > < div class = "block" > < h3 class = "sidebar-title" > < a href = "#synthetic-implementations" > Auto Trait Implementations< / a > < / h3 > < ul > < li > < a href = "#impl-RefUnwindSafe-for-AuthorisationRequestOidc" > RefUnwindSafe< / a > < / li > < li > < a href = "#impl-Send-for-AuthorisationRequestOidc" > Send< / a > < / li > < li > < a href = "#impl-Sync-for-AuthorisationRequestOidc" > Sync< / a > < / li > < li > < a href = "#impl-Unpin-for-AuthorisationRequestOidc" > Unpin< / a > < / li > < li > < a href = "#impl-UnwindSafe-for-AuthorisationRequestOidc" > UnwindSafe< / a > < / li > < / ul > < / div > < div class = "block" > < h3 class = "side
pub display: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > ,
pub prompt: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > ,
pub max_age: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.65.0/std/primitive.i64.html" > i64< / a > > ,
pub ui_locales: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.65.0/std/primitive.unit.html" > ()< / a > > ,
pub claims_locales: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.65.0/std/primitive.unit.html" > ()< / a > > ,
pub id_token_hint: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > ,
pub login_hint: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > ,
pub acr: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > ,
}< / code > < / pre > < / div > < h2 id = "fields" class = "fields small-section-header" > Fields< a href = "#fields" class = "anchor" > < / a > < / h2 > < span id = "structfield.display" class = "structfield small-section-header" > < a href = "#structfield.display" class = "anchor field" > < / a > < code > display: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > < / code > < / span > < span id = "structfield.prompt" class = "structfield small-section-header" > < a href = "#structfield.prompt" class = "anchor field" > < / a > < code > prompt: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > < / code > < / span > < span id = "structfield.max_age" class = "structfield small-section-header" > < a href = "#structfield.max_age" class = "anchor field" > < / a > < code > max_age: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.65.0/std/primitive.i64.html" > i64< / a > > < / code > < / span > < span id = "structfield.ui_locales" class = "structfield small-section-header" > < a href = "#structfield.ui_locales" class = "anchor field" > < / a > < code > ui_locales: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.65.0/std/primitive.unit.html" > ()< / a > > < / code > < / span > < span id = "structfield.claims_locales" class = "structfield small-section-header" > < a href = "#structfield.claims_locales" class = "anchor field" > < / a > < code > claims_locales: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "primitive" href = "https://doc.rust-lang.org/1.65.0/std/primitive.unit.html" > ()< / a > > < / code > < / span > < span id = "structfield.id_token_hint" class = "structfield small-section-header" > < a href = "#structfield.id_token_hint" class = "anchor field" > < / a > < code > id_token_hint: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > < / code > < / span > < span id = "structfield.login_hint" class = "structfield small-section-header" > < a href = "#structfield.login_hint" class = "anchor field" > < / a > < code > login_hint: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > < / code > < / span > < span id = "structfield.acr" class = "structfield small-section-header" > < a href = "#structfield.acr" class = "anchor field" > < / a > < code > acr: < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/option/enum.Option.html" title = "enum core::option::Option" > Option< / a > < < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/string/struct.String.html" title = "struct alloc::string::String" > String< / a > > < / code > < / span > < h2 id = "trait-implementations" class = "small-section-header" > Trait Implementations< a href = "#trait-implementations" class = "anchor" > < / a > < / h2 > < div id = "trait-implementations-list" > < details class = "rustdoc-toggle implementors-toggle" open > < summary > < section id = "impl-Clone-for-AuthorisationRequestOidc" class = "impl has-srclink" > < a class = "srclink rightside" href = "../../src/kanidm_proto/oauth2.rs.html#41" > source< / a > < a href = "#impl-Clone-for-AuthorisationRequestOidc" class = "anchor" > < / a > < h3 class = "code-header in-band" > impl < a class = "trait" href = "https://doc.rust-lang.org/1.65.0/core/clone/trait.Clone.html" title = "trait core::clone
< / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-Into%3CU%3E-for-AuthorisationRequestOidc" class = "impl has-srclink" > < a class = "srclink rightside" href = "https://doc.rust-lang.org/1.65.0/src/core/convert/mod.rs.html#543" > source< / a > < a href = "#impl-Into%3CU%3E-for-AuthorisationRequestOidc" class = "anchor" > < / a > < h3 class = "code-header in-band" > impl< T, U> < a class = "trait" href = "https://doc.rust-lang.org/1.65.0/core/convert/trait.Into.html" title = "trait core::convert::Into" > Into< / a > < U> for T< span class = "where fmt-newline" > where< br > U: < a class = "trait" href = "https://doc.rust-lang.org/1.65.0/core/convert/trait.From.html" title = "trait core::convert::From" > From< / a > < T> ,< / span > < / h3 > < / section > < / summary > < div class = "impl-items" > < details class = "rustdoc-toggle method-toggle" open > < summary > < section id = "method.into" class = "method trait-impl has-srclink" > < span class = "rightside" > < span class = "since" title = "const unstable" > const: < a href = "https://github.com/rust-lang/rust/issues/88674" title = "Tracking issue for const_convert" > unstable< / a > < / span > · < a class = "srclink" href = "https://doc.rust-lang.org/1.65.0/src/core/convert/mod.rs.html#551" > source< / a > < / span > < a href = "#method.into" class = "anchor" > < / a > < h4 class = "code-header" > fn < a href = "https://doc.rust-lang.org/1.65.0/core/convert/trait.Into.html#tymethod.into" class = "fnname" > into< / a > (self) -> U< / h4 > < / section > < / summary > < div class = "docblock" > < p > Calls < code > U::from(self)< / code > .< / p >
2022-10-07 11:23:12 +02:00
< p > That is, this conversion is whatever the implementation of
2022-11-04 01:07:22 +01:00
< code > < a href = "https://doc.rust-lang.org/1.65.0/core/convert/trait.From.html" title = "From" > From< / a > < T> for U< / code > chooses to do.< / p >
< / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-Serialize-for-AuthorisationRequestOidc-1" class = "impl has-srclink" > < a class = "srclink rightside" href = "https://docs.rs/erased-serde/0.3.23/src/erased_serde/ser.rs.html#238" > source< / a > < a href = "#impl-Serialize-for-AuthorisationRequestOidc-1" class = "anchor" > < / a > < h3 class = "code-header in-band" > impl< T> < a class = "trait" href = "https://docs.rs/erased-serde/0.3.23/erased_serde/ser/trait.Serialize.html" title = "trait erased_serde::ser::Serialize" > Serialize< / a > for T< span class = "where fmt-newline" > where< br > T: < a class = "trait" href = "https://docs.rs/serde/1.0.147/serde/ser/trait.Serialize.html" title = "trait serde::ser::Serialize" > Serialize< / a > + ?< a class = "trait" href = "https://doc.rust-lang.org/1.65.0/core/marker/trait.Sized.html" title = "trait core::marker::Sized" > Sized< / a > ,< / span > < / h3 > < / section > < / summary > < div class = "impl-items" > < section id = "method.erased_serialize" class = "method trait-impl has-srclink" > < a class = "srclink rightside" href = "https://docs.rs/erased-serde/0.3.23/src/erased_serde/ser.rs.html#242" > source< / a > < a href = "#method.erased_serialize" class = "anchor" > < / a > < h4 class = "code-header" > fn < a href = "https://docs.rs/erased-serde/0.3.23/erased_serde/ser/trait.Serialize.html#tymethod.erased_serialize" class = "fnname" > erased_serialize< / a > (& self, serializer: & mut dyn < a class = "trait" href = "https://docs.rs/erased-serde/0.3.23/erased_serde/ser/trait.Serializer.html" title = "trait erased_serde::ser::Serializer" > Serializer< / a > ) -> < a class = "enum" href = "https://doc.rust-lang.org/1.65.0/core/result/enum.Result.html" title = "enum core::result::Result" > Result< / a > < Ok, < a class = "struct" href = "https://docs.rs/erased-serde/0.3.23/erased_serde/error/struct.Error.html" title = "struct erased_serde::error::Error" > Error< / a > > < / h4 > < / section > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-ToOwned-for-AuthorisationRequestOidc" class = "impl has-srclink" > < a class = "srclink rightside" href = "https://doc.rust-lang.org/1.65.0/src/alloc/borrow.rs.html#83" > source< / a > < a href = "#impl-ToOwned-for-AuthorisationRequestOidc" class = "anchor" > < / a > < h3 class = "code-header in-band" > impl< T> < a class = "trait" href = "https://doc.rust-lang.org/1.65.0/alloc/borrow/trait.ToOwned.html" title = "trait alloc::borrow::ToOwned" > ToOwned< / a > for T< span class = "where fmt-newline" > where< br > T: < a class = "trait" href = "https://doc.rust-lang.org/1.65.0/core/clone/trait.Clone.html" title = "trait core::clone::Clone" > Clone< / a > ,< / span > < / h3 > < / section > < / summary > < div class = "impl-items" > < details class = "rustdoc-toggle" open > < summary > < section id = "associatedtype.Owned" class = "associatedtype trait-impl has-srclink" > < a href = "#associatedtype.Owned" class = "anchor" > < / a > < h4 class = "code-header" > type < a href = "https://doc.rust-lang.org/1.65.0/alloc/borrow/trait.ToOwned.html#associatedtype.Owned" class = "associatedtype" > Owned< / a > = T< / h4 > < / section > < / summary > < div class = 'docblock' > The resulting type after obtaining ownership.< / div > < / details > < details class = "rustdoc-toggle method-toggle" open > < summary > < section id = "method.to_owned" class = "method trait-impl has-srclink" > < a class = "srclink rightside" href = "https://doc.rust-lang.org/1.65.0/src/alloc/borrow.rs.html#88" > source< / a > < a href = "#method.to_owned" class = "anchor" > < / a > < h4 class = "code-header" > fn < a href = "https://doc.rust-lang.org/1.65.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" class = "fnname" > to_owned< / a > (& self) -> T< / h4 > < / section > < / summary > < div class = 'docblock' > Creates owned data from borrowed data, usually by cloning. < a href = "https://doc.rust-lang.org/1.65.0/alloc/borrow/trait.ToOwned.html#tymethod.to_owned" > Read more< / a > < / div > < / details > < details class = "rustdoc-toggle method-toggle" open > < summary > < section id = "method.clone_into" class = "method trait-impl has-srclink" > < a class = "srclink rightside" href = "https://doc.rust-lang.org/1.65.0/src/alloc/borrow.rs.html#92" > source< / a > < a href = "#method.clone_into" class = "anchor" > < / a > < h4 class = "code-hea