pub struct TfFeatureGate {
pub policy: Option<Value>,
pub claimed_profiles: Vec<String>,
pub default_proof_level: Option<String>,
pub anchors: Vec<Value>,
pub forbidden_actions: Vec<String>,
pub per_action_proof_level: HashMap<String, String>,
}Fields§
§policy: Option<Value>§claimed_profiles: Vec<String>§default_proof_level: Option<String>§anchors: Vec<Value>§forbidden_actions: Vec<String>§per_action_proof_level: HashMap<String, String>Implementations§
Source§impl TfFeatureGate
impl TfFeatureGate
pub fn proof_level_for_action(&self, action: &str) -> Option<&str>
Trait Implementations§
Source§impl Clone for TfFeatureGate
impl Clone for TfFeatureGate
Source§fn clone(&self) -> TfFeatureGate
fn clone(&self) -> TfFeatureGate
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 TfFeatureGate
impl Debug for TfFeatureGate
Source§impl Default for TfFeatureGate
impl Default for TfFeatureGate
Source§fn default() -> TfFeatureGate
fn default() -> TfFeatureGate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TfFeatureGate
impl RefUnwindSafe for TfFeatureGate
impl Send for TfFeatureGate
impl Sync for TfFeatureGate
impl Unpin for TfFeatureGate
impl UnsafeUnpin for TfFeatureGate
impl UnwindSafe for TfFeatureGate
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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