[][src]Struct mailchimp::types::CampaignFeedbackType

pub struct CampaignFeedbackType {
    pub feedback_id: u64,
    pub parent_id: u64,
    pub block_id: u64,
    pub message: String,
    pub is_complete: bool,
    pub created_by: String,
    pub created_at: String,
    pub updated_at: String,
    pub source: String,
    pub campaign_id: String,
    pub _links: Vec<LinkType>,
    // some fields omitted
}

Fields

feedback_id: u64

The individual id for the feedback item.

parent_id: u64

If a reply, the id of the parent feedback item.

block_id: u64

The block id for the editable block that the feedback addresses.

message: String

The content of the feedback.

is_complete: bool

The status of feedback.

created_by: String

The login name of the user who created the feedback.

created_at: String

The date and time the feedback item was created in ISO 8601 format.

updated_at: String

The date and time the feedback was last updated in ISO 8601 format.

source: String

The source of the feedback. api email smsw eb ios android

campaign_id: String

The unique id for the campaign.

_links: Vec<LinkType>

A list of link types and descriptions for the API schema documents.

Methods

impl CampaignFeedbackType[src]

pub fn delete(&self) -> Result<EmptyType, MailchimpErrorType>[src]

Remove a specific feedback message for a campaign.

pub fn update(
    &self,
    param: UpdateFeedbackParam
) -> Result<CampaignFeedbackType, MailchimpErrorType>
[src]

Update a specific feedback message for a campaign.

pub fn set_api(&mut self, api: &MailchimpApi)[src]

Mailchimp API

pub fn set_endpoint<'a>(&mut self, endpoint: &'a str)[src]

Endpoint

Trait Implementations

impl MailchimpCollection<CampaignFeedbackType> for CollectionCampaignFeedback[src]

fn get_total_items(&self) -> u64[src]

Total Items

fn get_values(&self) -> Vec<CampaignFeedbackType>[src]

Data

impl Clone for CampaignFeedbackType[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CampaignFeedbackType[src]

impl Serialize for CampaignFeedbackType[src]

impl<'de> Deserialize<'de> for CampaignFeedbackType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err