pub struct UpdateComponentRequest {
pub path: UpdateComponentRequestPath,
pub body: UpdateComponentBody,
}Expand description
Update a component’s name and/or body. When the lmx body changes, the update cascades to every email using this component, and affectedEmailCount reports how many were affected. A change that would introduce a dynamic variable an email using the component cannot use is rejected.
Fields§
§path: UpdateComponentRequestPath§body: UpdateComponentBodyImplementations§
Source§impl UpdateComponentRequest
impl UpdateComponentRequest
Sourcepub async fn parse_response(
req: Response,
) -> Result<UpdateComponentResponseEnum>
pub async fn parse_response( req: Response, ) -> Result<UpdateComponentResponseEnum>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for UpdateComponentRequest
impl Clone for UpdateComponentRequest
Source§impl Debug for UpdateComponentRequest
impl Debug for UpdateComponentRequest
Source§impl Default for UpdateComponentRequest
impl Default for UpdateComponentRequest
Source§impl Validate for UpdateComponentRequest
impl Validate for UpdateComponentRequest
Source§impl<'v_a> ValidateArgs<'v_a> for UpdateComponentRequest
impl<'v_a> ValidateArgs<'v_a> for UpdateComponentRequest
Auto Trait Implementations§
impl Freeze for UpdateComponentRequest
impl RefUnwindSafe for UpdateComponentRequest
impl Send for UpdateComponentRequest
impl Sync for UpdateComponentRequest
impl Unpin for UpdateComponentRequest
impl UnsafeUnpin for UpdateComponentRequest
impl UnwindSafe for UpdateComponentRequest
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