pub struct ForParties(pub Vec<String>);Expand description
Helper for serializing/deserializing the for field that can be either a string or an array
Tuple Fields§
§0: Vec<String>Trait Implementations§
Source§impl Clone for ForParties
impl Clone for ForParties
Source§fn clone(&self) -> ForParties
fn clone(&self) -> ForParties
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 ForParties
impl Debug for ForParties
Source§impl<'de> Deserialize<'de> for ForParties
impl<'de> Deserialize<'de> for ForParties
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ForParties
impl PartialEq for ForParties
Source§impl Serialize for ForParties
impl Serialize for ForParties
impl StructuralPartialEq for ForParties
Auto Trait Implementations§
impl Freeze for ForParties
impl RefUnwindSafe for ForParties
impl Send for ForParties
impl Sync for ForParties
impl Unpin for ForParties
impl UnwindSafe for ForParties
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