pub struct SplitInvocation {
pub id: String,
pub controller_id: Option<ControllerId>,
pub leakage_policy: LeakageUnitPolicy,
pub params: BTreeMap<String, Value>,
pub fold_set: Option<FoldSet>,
}Fields§
§id: String§controller_id: Option<ControllerId>§leakage_policy: LeakageUnitPolicy§params: BTreeMap<String, Value>§fold_set: Option<FoldSet>Implementations§
Source§impl SplitInvocation
impl SplitInvocation
pub fn validate(&self) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for SplitInvocation
impl Clone for SplitInvocation
Source§fn clone(&self) -> SplitInvocation
fn clone(&self) -> SplitInvocation
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 SplitInvocation
impl Debug for SplitInvocation
Source§impl<'de> Deserialize<'de> for SplitInvocation
impl<'de> Deserialize<'de> for SplitInvocation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SplitInvocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SplitInvocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SplitInvocation
impl PartialEq for SplitInvocation
Source§fn eq(&self, other: &SplitInvocation) -> bool
fn eq(&self, other: &SplitInvocation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SplitInvocation
impl Serialize for SplitInvocation
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SplitInvocation
Auto Trait Implementations§
impl Freeze for SplitInvocation
impl RefUnwindSafe for SplitInvocation
impl Send for SplitInvocation
impl Sync for SplitInvocation
impl Unpin for SplitInvocation
impl UnsafeUnpin for SplitInvocation
impl UnwindSafe for SplitInvocation
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