pub struct IndependenceGroup(/* private fields */);Expand description
A set of participants that count as one party when independence is judged.
Two agents on the same model with the same prompt are one opinion wearing two names; declaring the group is how a design says so.
Implementations§
Trait Implementations§
Source§impl Clone for IndependenceGroup
impl Clone for IndependenceGroup
Source§impl Debug for IndependenceGroup
impl Debug for IndependenceGroup
Source§impl<'de> Deserialize<'de> for IndependenceGroup
Decoding goes through the constructor.
impl<'de> Deserialize<'de> for IndependenceGroup
Decoding goes through the constructor.
A derived implementation would accept a stored or transmitted value this type refuses to be built from, and the invariant would hold everywhere except where the document came from outside — which is the only place it was ever at risk.
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for IndependenceGroup
impl Display for IndependenceGroup
impl Eq for IndependenceGroup
Source§impl Hash for IndependenceGroup
impl Hash for IndependenceGroup
Source§impl Ord for IndependenceGroup
impl Ord for IndependenceGroup
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IndependenceGroup
impl PartialEq for IndependenceGroup
Source§impl PartialOrd for IndependenceGroup
impl PartialOrd for IndependenceGroup
Source§impl Serialize for IndependenceGroup
impl Serialize for IndependenceGroup
impl StructuralPartialEq for IndependenceGroup
Source§impl TryFrom<&str> for IndependenceGroup
impl TryFrom<&str> for IndependenceGroup
Auto Trait Implementations§
impl Freeze for IndependenceGroup
impl RefUnwindSafe for IndependenceGroup
impl Send for IndependenceGroup
impl Sync for IndependenceGroup
impl Unpin for IndependenceGroup
impl UnsafeUnpin for IndependenceGroup
impl UnwindSafe for IndependenceGroup
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