pub struct CreateComponentRequest {
pub body: CreateComponentBody,
}Expand description
Create a new email component from an LMX body.
Fields§
§body: CreateComponentBodyImplementations§
Source§impl CreateComponentRequest
impl CreateComponentRequest
Sourcepub async fn parse_response(req: Response) -> Result<CreateComponentResponse>
pub async fn parse_response(req: Response) -> Result<CreateComponentResponse>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for CreateComponentRequest
impl Clone for CreateComponentRequest
Source§impl Debug for CreateComponentRequest
impl Debug for CreateComponentRequest
Source§impl Default for CreateComponentRequest
impl Default for CreateComponentRequest
Source§impl Validate for CreateComponentRequest
impl Validate for CreateComponentRequest
Source§impl<'v_a> ValidateArgs<'v_a> for CreateComponentRequest
impl<'v_a> ValidateArgs<'v_a> for CreateComponentRequest
Auto Trait Implementations§
impl Freeze for CreateComponentRequest
impl RefUnwindSafe for CreateComponentRequest
impl Send for CreateComponentRequest
impl Sync for CreateComponentRequest
impl Unpin for CreateComponentRequest
impl UnsafeUnpin for CreateComponentRequest
impl UnwindSafe for CreateComponentRequest
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