[][src]Trait azure_sdk_storage_queue::MessageBodySupport

pub trait MessageBodySupport<'b> {
    type O;
    fn with_message_body<BODY: Into<Cow<'b, str>>>(self, body: BODY) -> Self::O;
}

Wraps the message like: '<QueueMessage><MessageText>{}</MessageText></QueueMessage>' as per Azure specification. See https://docs.microsoft.com/en-us/rest/api/storageservices/put-message

Associated Types

type O

Loading content...

Required methods

fn with_message_body<BODY: Into<Cow<'b, str>>>(self, body: BODY) -> Self::O

Wraps the message like: '<QueueMessage><MessageText>{}</MessageText></QueueMessage>' as per Azure specification. See https://docs.microsoft.com/en-us/rest/api/storageservices/put-message

Loading content...

Implementors

impl<'a, 'b, C> MessageBodySupport<'b> for PutMessageBuilder<'a, 'b, C, No> where
    C: Client
[src]

type O = PutMessageBuilder<'a, 'b, C, Yes>

Loading content...