pub struct Spread {
pub attribute: Option<String>,
pub weight: Option<i32>,
pub spread_target: Option<Vec<SpreadTarget>>,
}
Fields§
§attribute: Option<String>
§weight: Option<i32>
§spread_target: Option<Vec<SpreadTarget>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spread
impl<'de> Deserialize<'de> for Spread
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
impl StructuralPartialEq for Spread
Auto Trait Implementations§
impl Freeze for Spread
impl RefUnwindSafe for Spread
impl Send for Spread
impl Sync for Spread
impl Unpin for Spread
impl UnwindSafe for Spread
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