Struct daml_lf::element::DamlFeatureFlags
source · [−]pub struct DamlFeatureFlags { /* private fields */ }Expand description
DOCME
Implementations
sourceimpl 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
sourceimpl Clone for DamlFeatureFlags
impl Clone for DamlFeatureFlags
sourcefn clone(&self) -> DamlFeatureFlags
fn clone(&self) -> DamlFeatureFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for DamlFeatureFlags
impl Debug for DamlFeatureFlags
sourceimpl Default for DamlFeatureFlags
impl Default for DamlFeatureFlags
sourcefn default() -> DamlFeatureFlags
fn default() -> DamlFeatureFlags
Returns the “default value” for a type. Read more
sourceimpl IntoBoundedStatic for DamlFeatureFlags
impl IntoBoundedStatic for DamlFeatureFlags
type Static = DamlFeatureFlags
type Static = DamlFeatureFlags
The target type is bounded by the 'static lifetime.
sourcefn into_static(self) -> Self::Static
fn into_static(self) -> Self::Static
Convert an owned T into an owned T such that T: 'static.
sourceimpl Serialize for DamlFeatureFlags
impl Serialize for DamlFeatureFlags
sourceimpl ToBoundedStatic for DamlFeatureFlags
impl ToBoundedStatic for DamlFeatureFlags
type Static = DamlFeatureFlags
type Static = DamlFeatureFlags
The target type is bounded by the 'static lifetime.
impl Copy for DamlFeatureFlags
Auto Trait Implementations
impl RefUnwindSafe for DamlFeatureFlags
impl Send for DamlFeatureFlags
impl Sync for DamlFeatureFlags
impl Unpin for DamlFeatureFlags
impl UnwindSafe for DamlFeatureFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more