#[non_exhaustive]pub enum SignerType {
Human,
Agent,
Workload,
}Expand description
The type of entity that produced a signature.
Used to distinguish human, AI agent, and workload (CI/CD) signers in policy evaluation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for SignerType
impl Clone for SignerType
Source§fn clone(&self) -> SignerType
fn clone(&self) -> SignerType
Returns a duplicate of the value. Read more
1.0.0 · 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 SignerType
impl Debug for SignerType
Source§impl<'de> Deserialize<'de> for SignerType
impl<'de> Deserialize<'de> for SignerType
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
Source§impl Hash for SignerType
impl Hash for SignerType
Source§impl PartialEq for SignerType
impl PartialEq for SignerType
Source§impl Serialize for SignerType
impl Serialize for SignerType
impl Eq for SignerType
impl StructuralPartialEq for SignerType
Auto Trait Implementations§
impl Freeze for SignerType
impl RefUnwindSafe for SignerType
impl Send for SignerType
impl Sync for SignerType
impl Unpin for SignerType
impl UnsafeUnpin for SignerType
impl UnwindSafe for SignerType
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