pub struct AdvisorError {
pub type_: AdvisorErrorType,
pub error_code: AdvisorErrorCode,
pub rest: Rest,
}Fields§
§type_: AdvisorErrorType§error_code: AdvisorErrorCode§rest: RestImplementations§
Source§impl AdvisorError
impl AdvisorError
Sourcepub fn builder(
type_: AdvisorErrorType,
error_code: AdvisorErrorCode,
) -> AdvisorErrorBuilder
pub fn builder( type_: AdvisorErrorType, error_code: AdvisorErrorCode, ) -> AdvisorErrorBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for AdvisorError
impl Clone for AdvisorError
Source§impl Debug for AdvisorError
impl Debug for AdvisorError
Source§impl DeclaredFields for AdvisorError
impl DeclaredFields for AdvisorError
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for AdvisorError
impl<'de> Deserialize<'de> for AdvisorError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AdvisorError
Source§impl PartialEq for AdvisorError
impl PartialEq for AdvisorError
Source§impl Serialize for AdvisorError
impl Serialize for AdvisorError
impl StructuralPartialEq for AdvisorError
Auto Trait Implementations§
impl Freeze for AdvisorError
impl RefUnwindSafe for AdvisorError
impl Send for AdvisorError
impl Sync for AdvisorError
impl Unpin for AdvisorError
impl UnsafeUnpin for AdvisorError
impl UnwindSafe for AdvisorError
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