pub struct CreateEstimateMessageRequest<'a> {
pub estimate_id: String,
pub event_type: Option<String>,
pub recipients: Option<Vec<Value>>,
pub subject: Option<String>,
pub body: Option<String>,
pub send_me_a_copy: Option<bool>,
/* private fields */
}Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§estimate_id: String§event_type: Option<String>§recipients: Option<Vec<Value>>§subject: Option<String>§body: Option<String>§send_me_a_copy: Option<bool>Implementations§
Source§impl<'a> CreateEstimateMessageRequest<'a>
impl<'a> CreateEstimateMessageRequest<'a>
pub async fn send(self) -> Result<EstimateMessage>
pub fn event_type(self, event_type: &str) -> Self
pub fn recipients(self, recipients: Vec<Value>) -> Self
pub fn subject(self, subject: &str) -> Self
pub fn body(self, body: &str) -> Self
pub fn send_me_a_copy(self, send_me_a_copy: bool) -> Self
Auto Trait Implementations§
impl<'a> Freeze for CreateEstimateMessageRequest<'a>
impl<'a> !RefUnwindSafe for CreateEstimateMessageRequest<'a>
impl<'a> Send for CreateEstimateMessageRequest<'a>
impl<'a> Sync for CreateEstimateMessageRequest<'a>
impl<'a> Unpin for CreateEstimateMessageRequest<'a>
impl<'a> !UnwindSafe for CreateEstimateMessageRequest<'a>
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