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