/// Send an event at the start of a Service update.
Send an event at the start of a Service update.
Send an event at the start of a Service update .
pub fn service_update_started(service: &Service, update: &PackageIdent) {
    if stream_initialized() {
        publish(ServiceUpdateStartedEvent { event_metadata:       None,
                                            service_metadata:
                                                Some(service.to_service_metadata()),
                                            update_package_ident: update.clone().to_string(), });
    }
}
pub fn service_update_started ( service : & Service , update : & PackageIdent ) { if stream_initialized ( ) { publish ( ServiceUpdateStartedEvent { event_metadata : None , service_metadata : Some ( service . to_service_metadata ( ) ) , update_package_ident : update . clone ( ) . to_string ( ) , } ) ; } }
Send an event at the start of a Service update.
Send an event at the start of a Service update .
service
&Service
update
&PackageIdent