pub struct DamlFeatureFlags { /* private fields */ }Expand description
Daml Feature flags.
Implementations§
Source§impl DamlFeatureFlags
impl DamlFeatureFlags
pub fn new( forbid_party_literals: bool, dont_divulge_contract_ids_in_create_arguments: bool, dont_disclose_non_consuming_choices_to_observers: bool, ) -> Self
Sourcepub fn forbid_party_literals(self) -> bool
pub fn forbid_party_literals(self) -> bool
Sourcepub fn dont_divulge_contract_ids_in_create_arguments(self) -> bool
pub fn dont_divulge_contract_ids_in_create_arguments(self) -> bool
Sourcepub fn dont_disclose_non_consuming_choices_to_observers(self) -> bool
pub fn dont_disclose_non_consuming_choices_to_observers(self) -> bool
Trait Implementations§
Source§impl Clone for DamlFeatureFlags
impl Clone for DamlFeatureFlags
Source§fn clone(&self) -> DamlFeatureFlags
fn clone(&self) -> DamlFeatureFlags
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 DamlFeatureFlags
impl Debug for DamlFeatureFlags
Source§impl Default for DamlFeatureFlags
impl Default for DamlFeatureFlags
Source§fn default() -> DamlFeatureFlags
fn default() -> DamlFeatureFlags
Returns the “default value” for a type. Read more
Source§impl IntoBoundedStatic for DamlFeatureFlags
impl IntoBoundedStatic for DamlFeatureFlags
Source§type Static = DamlFeatureFlags
type Static = DamlFeatureFlags
The target type is bounded by the
'static lifetime.Source§fn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned
T into an owned T such that T: 'static.Source§impl Serialize for DamlFeatureFlags
impl Serialize for DamlFeatureFlags
Source§impl ToBoundedStatic for DamlFeatureFlags
impl ToBoundedStatic for DamlFeatureFlags
impl Copy for DamlFeatureFlags
Auto Trait Implementations§
impl Freeze for DamlFeatureFlags
impl RefUnwindSafe for DamlFeatureFlags
impl Send for DamlFeatureFlags
impl Sync for DamlFeatureFlags
impl Unpin for DamlFeatureFlags
impl UnwindSafe for DamlFeatureFlags
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