/// Update topic partitions.
/// Requirements:
///  * Must be called with valid topic, otherwise, update will fail silently
Update topic partitions.
Requirements:
Must be called with valid topic, otherwise, update will fail silently
Update topic partitions . Requirements : Must be called with valid topic otherwise update will fail silently
pub fn update_partitions(&mut self, partition_replicas: Option<Vec<FlvPartitionReplica>>) {
        if self.topic.is_some() {
            self.topic.as_mut().unwrap().partition_replicas = partition_replicas;
        }
    }
pub fn update_partitions ( & mut self , partition_replicas : Option < Vec < FlvPartitionReplica > > ) { if self . topic . is_some ( ) { self . topic . as_mut ( ) . unwrap ( ) . partition_replicas = partition_replicas ; } }
Update topic partitions.
Update topic partitions .
&mut self
partition_replicas
Option<Vec<FlvPartitionReplica>>