pub fn service_stopped(service: &Service) {
    if stream_initialized() {
        publish(ServiceStoppedEvent { service_metadata: Some(service.to_service_metadata()),
                                      event_metadata:   None, });
    }
}
/// Send an event for the stop of a Service.
Send an event for the stop of a Service.
Send an event for the stop of a Service .
pub fn service_stopped(service: &Service) {
    if stream_initialized() {
        publish(ServiceStoppedEvent { service_metadata: Some(service.to_service_metadata()),
                                      event_metadata:   None, });
    }
}
pub fn service_stopped ( service : & Service ) { if stream_initialized ( ) { publish ( ServiceStoppedEvent { service_metadata : Some ( service . to_service_metadata ( ) ) , event_metadata : None , } ) ; } }
Send an event for the stop of a Service.
Send an event for the stop of a Service .
service
&Service
service
&Service