pub struct EntityResponse {
pub entity: Option<Box<Entity>>,
}
Expand description
EntityResponse : Entity API response object.
Fields§
§entity: Option<Box<Entity>>
Implementations§
Source§impl EntityResponse
impl EntityResponse
Sourcepub fn new() -> EntityResponse
pub fn new() -> EntityResponse
Entity API response object.
Trait Implementations§
Source§impl Clone for EntityResponse
impl Clone for EntityResponse
Source§fn clone(&self) -> EntityResponse
fn clone(&self) -> EntityResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for EntityResponse
impl Debug for EntityResponse
Source§impl Default for EntityResponse
impl Default for EntityResponse
Source§fn default() -> EntityResponse
fn default() -> EntityResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EntityResponse
impl<'de> Deserialize<'de> for EntityResponse
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 EntityResponse
impl PartialEq for EntityResponse
Source§impl Serialize for EntityResponse
impl Serialize for EntityResponse
impl StructuralPartialEq for EntityResponse
Auto Trait Implementations§
impl Freeze for EntityResponse
impl RefUnwindSafe for EntityResponse
impl Send for EntityResponse
impl Sync for EntityResponse
impl Unpin for EntityResponse
impl UnwindSafe for EntityResponse
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