pub enum GetThemeResponse {
Ok(ThemeResponse),
BadRequest(ThemeFailureResponse),
Unauthorized,
NotFound(ThemeFailureResponse),
MethodNotAllowed,
Unknown,
}Expand description
Response types for getTheme
Variants§
Ok(ThemeResponse)
200: Successful.
BadRequest(ThemeFailureResponse)
400: Invalid themeId.
401: Invalid API key or content API not enabled for this team.
NotFound(ThemeFailureResponse)
404: Theme not found.
MethodNotAllowed
405: Wrong HTTP request method.
Unknown
default: Unknown response
Trait Implementations§
Source§impl Clone for GetThemeResponse
impl Clone for GetThemeResponse
Auto Trait Implementations§
impl Freeze for GetThemeResponse
impl RefUnwindSafe for GetThemeResponse
impl Send for GetThemeResponse
impl Sync for GetThemeResponse
impl Unpin for GetThemeResponse
impl UnsafeUnpin for GetThemeResponse
impl UnwindSafe for GetThemeResponse
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