windows::ApplicationModel::Contacts

Trait IContactInstantMessageFieldFactory_Impl

pub trait IContactInstantMessageFieldFactory_Impl: IUnknownImpl {
    // Required methods
    fn CreateInstantMessage_Default(
        &self,
        userName: &HSTRING,
    ) -> Result<ContactInstantMessageField>;
    fn CreateInstantMessage_Category(
        &self,
        userName: &HSTRING,
        category: ContactFieldCategory,
    ) -> Result<ContactInstantMessageField>;
    fn CreateInstantMessage_All(
        &self,
        userName: &HSTRING,
        category: ContactFieldCategory,
        service: &HSTRING,
        displayText: &HSTRING,
        verb: Ref<'_, Uri>,
    ) -> Result<ContactInstantMessageField>;
}

Required Methods§

fn CreateInstantMessage_Default( &self, userName: &HSTRING, ) -> Result<ContactInstantMessageField>

fn CreateInstantMessage_Category( &self, userName: &HSTRING, category: ContactFieldCategory, ) -> Result<ContactInstantMessageField>

fn CreateInstantMessage_All( &self, userName: &HSTRING, category: ContactFieldCategory, service: &HSTRING, displayText: &HSTRING, verb: Ref<'_, Uri>, ) -> Result<ContactInstantMessageField>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§