fn is_any_gossip_field_set(payload: &UpdateSubnetPayload) -> bool {
    payload.max_artifact_streams_per_peer.is_some()
        || payload.max_chunk_wait_ms.is_some()
        || payload.max_duplicity.is_some()
        || payload.max_chunk_size.is_some()
        || payload.receive_check_cache_size.is_some()
        || payload.pfn_evaluation_period_ms.is_some()
        || payload.registry_poll_period_ms.is_some()
        || payload.retransmission_request_ms.is_some()
        || payload.advert_best_effort_percentage.is_some()
}
// Returns true if any gossip related field is set for an override in the
// provided payload or false otherwise.
Returns true if any gossip related field is set for an override in the
provided payload or false otherwise.
Returns true if any gossip related field is set for an override in the provided payload or false otherwise .
fn is_any_gossip_field_set(payload: &UpdateSubnetPayload) -> bool {
    payload.max_artifact_streams_per_peer.is_some()
        || payload.max_chunk_wait_ms.is_some()
        || payload.max_duplicity.is_some()
        || payload.max_chunk_size.is_some()
        || payload.receive_check_cache_size.is_some()
        || payload.pfn_evaluation_period_ms.is_some()
        || payload.registry_poll_period_ms.is_some()
        || payload.retransmission_request_ms.is_some()
        || payload.advert_best_effort_percentage.is_some()
}
fn is_any_gossip_field_set ( payload : & UpdateSubnetPayload ) -> bool { payload . max_artifact_streams_per_peer . is_some ( ) || payload . max_chunk_wait_ms . is_some ( ) || payload . max_duplicity . is_some ( ) || payload . max_chunk_size . is_some ( ) || payload . receive_check_cache_size . is_some ( ) || payload . pfn_evaluation_period_ms . is_some ( ) || payload . registry_poll_period_ms . is_some ( ) || payload . retransmission_request_ms . is_some ( ) || payload . advert_best_effort_percentage . is_some ( ) }
Returns true if any gossip related field is set for an override in the
provided payload or false otherwise.
Returns true if any gossip related field is set for an override in the provided payload or false otherwise .
payload
&UpdateSubnetPayload
payload
&UpdateSubnetPayload