windows::Devices::Sms

Trait ISmsTextMessage_Impl

pub trait ISmsTextMessage_Impl: ISmsMessage_Impl {
Show 13 methods // Required methods fn Timestamp(&self) -> Result<DateTime>; fn PartReferenceId(&self) -> Result<u32>; fn PartNumber(&self) -> Result<u32>; fn PartCount(&self) -> Result<u32>; fn To(&self) -> Result<HSTRING>; fn SetTo(&self, value: &HSTRING) -> Result<()>; fn From(&self) -> Result<HSTRING>; fn SetFrom(&self, value: &HSTRING) -> Result<()>; fn Body(&self) -> Result<HSTRING>; fn SetBody(&self, value: &HSTRING) -> Result<()>; fn Encoding(&self) -> Result<SmsEncoding>; fn SetEncoding(&self, value: SmsEncoding) -> Result<()>; fn ToBinaryMessages( &self, format: SmsDataFormat, ) -> Result<IVectorView<ISmsBinaryMessage>>;
}

Required Methods§

fn Timestamp(&self) -> Result<DateTime>

fn PartReferenceId(&self) -> Result<u32>

fn PartNumber(&self) -> Result<u32>

fn PartCount(&self) -> Result<u32>

fn To(&self) -> Result<HSTRING>

fn SetTo(&self, value: &HSTRING) -> Result<()>

fn From(&self) -> Result<HSTRING>

fn SetFrom(&self, value: &HSTRING) -> Result<()>

fn Body(&self) -> Result<HSTRING>

fn SetBody(&self, value: &HSTRING) -> Result<()>

fn Encoding(&self) -> Result<SmsEncoding>

fn SetEncoding(&self, value: SmsEncoding) -> Result<()>

fn ToBinaryMessages( &self, format: SmsDataFormat, ) -> Result<IVectorView<ISmsBinaryMessage>>

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§