pub struct RotatorsConfigPart {
pub rotators: Option<Vec<Rotator>>,
}Fields§
§rotators: Option<Vec<Rotator>>Implementations§
Source§impl RotatorsConfigPart
impl RotatorsConfigPart
pub fn new() -> RotatorsConfigPart
Trait Implementations§
Source§impl Clone for RotatorsConfigPart
impl Clone for RotatorsConfigPart
Source§fn clone(&self) -> RotatorsConfigPart
fn clone(&self) -> RotatorsConfigPart
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 RotatorsConfigPart
impl Debug for RotatorsConfigPart
Source§impl Default for RotatorsConfigPart
impl Default for RotatorsConfigPart
Source§fn default() -> RotatorsConfigPart
fn default() -> RotatorsConfigPart
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RotatorsConfigPart
impl<'de> Deserialize<'de> for RotatorsConfigPart
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 RotatorsConfigPart
impl PartialEq for RotatorsConfigPart
Source§fn eq(&self, other: &RotatorsConfigPart) -> bool
fn eq(&self, other: &RotatorsConfigPart) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RotatorsConfigPart
impl Serialize for RotatorsConfigPart
impl StructuralPartialEq for RotatorsConfigPart
Auto Trait Implementations§
impl Freeze for RotatorsConfigPart
impl RefUnwindSafe for RotatorsConfigPart
impl Send for RotatorsConfigPart
impl Sync for RotatorsConfigPart
impl Unpin for RotatorsConfigPart
impl UnsafeUnpin for RotatorsConfigPart
impl UnwindSafe for RotatorsConfigPart
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