pub enum PartitionResponse {
Success(ElementList),
ValidationFailure(ValidationError),
UnknownFailure(Value),
}
Variants§
Success(ElementList)
Successful response; returns a list of elements.
ValidationFailure(ValidationError)
Failed to validate value
UnknownFailure(Value)
Failed request; returns JSON with error message.
Trait Implementations§
Source§impl Debug for PartitionResponse
impl Debug for PartitionResponse
Source§impl<'de> Deserialize<'de> for PartitionResponse
impl<'de> Deserialize<'de> for PartitionResponse
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
Auto Trait Implementations§
impl Freeze for PartitionResponse
impl RefUnwindSafe for PartitionResponse
impl Send for PartitionResponse
impl Sync for PartitionResponse
impl Unpin for PartitionResponse
impl UnwindSafe for PartitionResponse
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