pub struct PostMocksBodyMock {
pub collection: String,
pub environment: Option<String>,
pub name: Option<String>,
pub private: Option<bool>,
}
Fields§
§collection: String
The mock’s associated collection unique ID.
environment: Option<String>
The mock server’s associated environment ID.
name: Option<String>
The mock server’s name.
private: Option<bool>
If true, the mock server is set private. By default, mock servers are public and can receive requests from anyone and anywhere.
Trait Implementations§
Source§impl Clone for PostMocksBodyMock
impl Clone for PostMocksBodyMock
Source§fn clone(&self) -> PostMocksBodyMock
fn clone(&self) -> PostMocksBodyMock
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PostMocksBodyMock
impl Debug for PostMocksBodyMock
Source§impl<'de> Deserialize<'de> for PostMocksBodyMock
impl<'de> Deserialize<'de> for PostMocksBodyMock
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
Source§impl PartialEq for PostMocksBodyMock
impl PartialEq for PostMocksBodyMock
Source§impl Serialize for PostMocksBodyMock
impl Serialize for PostMocksBodyMock
impl StructuralPartialEq for PostMocksBodyMock
Auto Trait Implementations§
impl Freeze for PostMocksBodyMock
impl RefUnwindSafe for PostMocksBodyMock
impl Send for PostMocksBodyMock
impl Sync for PostMocksBodyMock
impl Unpin for PostMocksBodyMock
impl UnwindSafe for PostMocksBodyMock
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