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 `AuthorisationRequest` struct in crate `kanidm_proto`." > < meta name = "keywords" content = "rust, rustlang, rust-lang, AuthorisationRequest" > < title > AuthorisationRequest 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 = "#" > AuthorisationRequest< / 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.client_id" > client_id< / a > < / li > < li > < a href = "#structfield.nonce" > nonce< / a > < / li > < li > < a href = "#structfield.oidc_ext" > oidc_ext< / a > < / li > < li > < a href = "#structfield.pkce_request" > pkce_request< / a > < / li > < li > < a href = "#structfield.redirect_uri" > redirect_uri< / a > < / li > < li > < a href = "#structfield.response_type" > response_type< / a > < / li > < li > < a href = "#structfield.scope" > scope< / a > < / li > < li > < a href = "#structfield.state" > state< / a > < / li > < li > < a href = "#structfield.unknown_keys" > unknown_keys< / 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-AuthorisationRequest" > Clone< / a > < / li > < li > < a href = "#impl-Debug-for-AuthorisationRequest" > Debug< / a > < / li > < li > < a href = "#impl-Deserialize%3C%27de%3E-for-AuthorisationRequest" > Deserialize< ' de> < / a > < / li > < li > < a href = "#impl-Serialize-for-AuthorisationRequest" > 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-AuthorisationRequest" > RefUnwindSafe< / a > < / li > < li > < a href = "#impl-Send-for-AuthorisationRequest" > Send< / a > < / li > < li > < a href = "#impl-Sync-for-AuthorisationRequest" > Sync< / a > < / li > < li > < a href = "#impl-Unpin-for-AuthorisationRequest" > Unpin< / a > < / li > < li > < a href = "#impl-UnwindSafe-for-AuthorisationRequest" > UnwindSafe< / a > < / li > < / ul > < / div > < div class = "block" > < h3 class = "sidebar-title" > < a href = "#blanket-implementations" > Blanket Implementati
pub response_type: < 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 client_id: < 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 state: < 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 pkce_request: < 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 = "struct.PkceRequest.html" title = "struct kanidm_proto::oauth2::PkceRequest" > PkceRequest< / a > > ,
2022-11-01 05:21:08 +01:00
pub redirect_uri: < a class = "struct" href = "https://docs.rs/url/2.3.1/url/struct.Url.html" title = "struct url::Url" > Url< / a > ,
2022-11-04 01:07:22 +01:00
pub scope: < 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 nonce: < 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 > > ,
2022-11-01 05:21:08 +01:00
pub oidc_ext: < a class = "struct" href = "struct.AuthorisationRequestOidc.html" title = "struct kanidm_proto::oauth2::AuthorisationRequestOidc" > AuthorisationRequestOidc< / a > ,
2022-11-04 01:07:22 +01:00
pub unknown_keys: < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / 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 > , < a class = "enum" href = "https://docs.rs/serde_json/1.0.87/serde_json/value/enum.Value.html" title = "enum serde_json::value::Value" > Value< / a > > ,
}< / code > < / pre > < / div > < h2 id = "fields" class = "fields small-section-header" > Fields< a href = "#fields" class = "anchor" > < / a > < / h2 > < span id = "structfield.response_type" class = "structfield small-section-header" > < a href = "#structfield.response_type" class = "anchor field" > < / a > < code > response_type: < 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.client_id" class = "structfield small-section-header" > < a href = "#structfield.client_id" class = "anchor field" > < / a > < code > client_id: < 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.state" class = "structfield small-section-header" > < a href = "#structfield.state" class = "anchor field" > < / a > < code > state: < 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.pkce_request" class = "structfield small-section-header" > < a href = "#structfield.pkce_request" class = "anchor field" > < / a > < code > pkce_request: < 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 = "struct.PkceRequest.html" title = "struct kanidm_proto::oauth2::PkceRequest" > PkceRequest< / a > > < / code > < / span > < span id = "structfield.redirect_uri" class = "structfield small-section-header" > < a href = "#structfield.redirect_uri" class = "anchor field" > < / a > < code > redirect_uri: < a class = "struct" href = "https://docs.rs/url/2.3.1/url/struct.Url.html" title = "struct url::Url" > Url< / a > < / code > < / span > < span id = "structfield.scope" class = "structfield small-section-header" > < a href = "#structfield.scope" class = "anchor field" > < / a > < code > scope: < 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.nonce" class = "structfield small-section-header" > < a href = "#structfield.nonce" class = "anchor field" > < / a > < code > nonce: < 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.oidc_ext" class = "structfield small-section-header" > < a href = "#structfield.oidc_ext" class = "anchor field" > < / a > < code > oidc_ext: < a class = "struct" href = "struct.AuthorisationRequestOidc.html" title = "struct kanidm_proto::oauth2::AuthorisationRequestOidc" > AuthorisationRequestOidc< / a > < / code > < / span > < span id = "structfield.unknown_keys" class = "structfield small-section-header" > < a href = "#structfield.unknown_keys" class = "anchor field" > < / a > < code > unknown_keys: < a class = "struct" href = "https://doc.rust-lang.org/1.65.0/alloc/collections/btree/map/struct.BTreeMap.html" title = "struct alloc::collections::btree::map::BTreeMap" > BTreeMap< / 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 > , < a class = "enum" href = "https://docs.rs/serde_json/1.0.87/serde_json/value/enum.Value.html" title = "enum serde_json::value::Value" > Value< / 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-AuthorisationRequest" class = "impl has-srclink" > < a class = "srclink rightside" href = "../../src/kanidm_proto/oauth2.rs.html#21" > source< / a > < a href = "#impl-Clone-for-AuthorisationRequest" 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::Clone" > Clone< / a > for < a class = "struct" href = "struct.AuthorisationRequest.html" title = "struct kanidm_proto:
< / div > < / details > < / div > < / details > < details class = "rustdoc-toggle implementors-toggle" > < summary > < section id = "impl-Into%3CU%3E-for-AuthorisationRequest" 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-AuthorisationRequest" 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-11-01 05:21:08 +01: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-AuthorisationRequest-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-AuthorisationRequest-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-AuthorisationRequest" 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-AuthorisationRequest" 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-header" > fn < a href =