pub enum RetrieveFormat {
Json,
LogEntries,
Java,
JavaScript,
Python,
Go,
CSharp,
Ruby,
Rust,
Php,
}Expand description
The response format for retrieve calls.
In addition to JSON and log-entry formats, MockServer can return the retrieved expectations as SDK setup code (the builder code that recreates the expectations) in a range of languages.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RetrieveFormat
impl Clone for RetrieveFormat
Source§fn clone(&self) -> RetrieveFormat
fn clone(&self) -> RetrieveFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RetrieveFormat
Source§impl Debug for RetrieveFormat
impl Debug for RetrieveFormat
impl Eq for RetrieveFormat
Source§impl PartialEq for RetrieveFormat
impl PartialEq for RetrieveFormat
Source§fn eq(&self, other: &RetrieveFormat) -> bool
fn eq(&self, other: &RetrieveFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RetrieveFormat
Auto Trait Implementations§
impl Freeze for RetrieveFormat
impl RefUnwindSafe for RetrieveFormat
impl Send for RetrieveFormat
impl Sync for RetrieveFormat
impl Unpin for RetrieveFormat
impl UnsafeUnpin for RetrieveFormat
impl UnwindSafe for RetrieveFormat
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.