pub struct ServiceNotification {
pub service_name: WString,
pub partition_info: Option<ServicePartitionInformation>,
pub partition_id: GUID,
pub endpoints: ServiceEndpointList,
/* private fields */
}
Expand description
Content of the service notification callback. Remarks: If endpoint list is empty, the service is removed.
Fields§
§service_name: WString
§partition_info: Option<ServicePartitionInformation>
§partition_id: GUID
§endpoints: ServiceEndpointList
Implementations§
Source§impl ServiceNotification
impl ServiceNotification
pub fn get_version(&self) -> Result<ServiceEndpointsVersion>
Trait Implementations§
Source§impl Clone for ServiceNotification
impl Clone for ServiceNotification
Source§fn clone(&self) -> ServiceNotification
fn clone(&self) -> ServiceNotification
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ServiceNotification
impl RefUnwindSafe for ServiceNotification
impl Send for ServiceNotification
impl Sync for ServiceNotification
impl Unpin for ServiceNotification
impl UnwindSafe for ServiceNotification
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