pub struct OidcSubject {
pub use_default: bool,
pub include_claim_keys: Vec<String>,
pub use_immutable_subject: bool,
}Expand description
How the OIDC subject claim is built.
Fields§
§use_default: boolWhether the default subject claim is used.
include_claim_keys: Vec<String>The claim keys of a custom subject, in order.
use_immutable_subject: boolWhether the subject uses immutable repository and owner IDs.
Trait Implementations§
Source§impl ActionsGroup for OidcSubject
impl ActionsGroup for OidcSubject
Source§type Wire = OidcSubjectResponse
type Wire = OidcSubjectResponse
What GitHub answers with.
Source§const UNAVAILABLE_STATUS: Option<u16> = None
const UNAVAILABLE_STATUS: Option<u16> = None
The status that reads as an unavailable group.
Source§impl Clone for OidcSubject
impl Clone for OidcSubject
Source§fn clone(&self) -> OidcSubject
fn clone(&self) -> OidcSubject
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 OidcSubject
impl Debug for OidcSubject
impl Eq for OidcSubject
Source§impl<'ʄ> Facet<'ʄ> for OidcSubject
impl<'ʄ> Facet<'ʄ> for OidcSubject
Source§impl From<OidcSubject> for Group
impl From<OidcSubject> for Group
Source§fn from(group: OidcSubject) -> Self
fn from(group: OidcSubject) -> Self
Converts to this type from the input type.
Source§impl From<OidcSubjectResponse> for OidcSubject
impl From<OidcSubjectResponse> for OidcSubject
Source§fn from(response: OidcSubjectResponse) -> Self
fn from(response: OidcSubjectResponse) -> Self
Converts to this type from the input type.
Source§impl GroupType for OidcSubject
impl GroupType for OidcSubject
Source§const NAME: &'static str = "oidc_subject"
const NAME: &'static str = "oidc_subject"
The group’s name in the report and in the configuration.
Source§fn compare(&self, live: &Self, diff: &mut FieldDiff)
fn compare(&self, live: &Self, diff: &mut FieldDiff)
Compare the declared group with the live one.
Source§fn limitation() -> Limitation
fn limitation() -> Limitation
What the report says when the live group cannot be read.
Source§impl PartialEq for OidcSubject
impl PartialEq for OidcSubject
impl StructuralPartialEq for OidcSubject
Auto Trait Implementations§
impl Freeze for OidcSubject
impl RefUnwindSafe for OidcSubject
impl Send for OidcSubject
impl Sync for OidcSubject
impl Unpin for OidcSubject
impl UnsafeUnpin for OidcSubject
impl UnwindSafe for OidcSubject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.