pub struct UpdateThemeRequest {
pub path: UpdateThemeRequestPath,
pub body: UpdateThemeBody,
}Expand description
Update a theme’s name and/or styles. When styles change, the update cascades to every email using this theme, and affectedEmailCount in the response reports how many emails were affected. Manual style edits made on individual emails are preserved: the cascade only changes properties an email has not overridden. A per-email override is removed only when it becomes identical to the theme’s new value, after which that email follows the theme for that property.
Fields§
§path: UpdateThemeRequestPath§body: UpdateThemeBodyImplementations§
Source§impl UpdateThemeRequest
impl UpdateThemeRequest
Sourcepub async fn parse_response(req: Response) -> Result<UpdateThemeResponseEnum>
pub async fn parse_response(req: Response) -> Result<UpdateThemeResponseEnum>
Parse the HTTP response into the response enum.
Trait Implementations§
Source§impl Clone for UpdateThemeRequest
impl Clone for UpdateThemeRequest
Source§impl Debug for UpdateThemeRequest
impl Debug for UpdateThemeRequest
Source§impl Default for UpdateThemeRequest
impl Default for UpdateThemeRequest
Source§impl Validate for UpdateThemeRequest
impl Validate for UpdateThemeRequest
Source§impl<'v_a> ValidateArgs<'v_a> for UpdateThemeRequest
impl<'v_a> ValidateArgs<'v_a> for UpdateThemeRequest
Auto Trait Implementations§
impl Freeze for UpdateThemeRequest
impl RefUnwindSafe for UpdateThemeRequest
impl Send for UpdateThemeRequest
impl Sync for UpdateThemeRequest
impl Unpin for UpdateThemeRequest
impl UnsafeUnpin for UpdateThemeRequest
impl UnwindSafe for UpdateThemeRequest
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