pub struct SecurityDomain {
pub domain_id: u64,
pub domain_name: String,
pub security_classification: SecurityClassification,
pub access_policy: AccessPolicy,
pub encryption_requirements: EncryptionRequirements,
pub quantum_isolation: QuantumIsolationPolicy,
pub allowed_operations: HashSet<QuantumOperation>,
pub restricted_operations: HashSet<QuantumOperation>,
}
Fields§
§domain_id: u64
§domain_name: String
§security_classification: SecurityClassification
§access_policy: AccessPolicy
§encryption_requirements: EncryptionRequirements
§quantum_isolation: QuantumIsolationPolicy
§allowed_operations: HashSet<QuantumOperation>
§restricted_operations: HashSet<QuantumOperation>
Trait Implementations§
Source§impl Clone for SecurityDomain
impl Clone for SecurityDomain
Source§fn clone(&self) -> SecurityDomain
fn clone(&self) -> SecurityDomain
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 moreAuto Trait Implementations§
impl Freeze for SecurityDomain
impl RefUnwindSafe for SecurityDomain
impl Send for SecurityDomain
impl Sync for SecurityDomain
impl Unpin for SecurityDomain
impl UnwindSafe for SecurityDomain
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more