pub struct GetComponent {
pub status: f64,
pub error: bool,
pub meta: Box<PublishedComponent>,
}Fields§
§status: f64The status of the request.
error: boolFor successful requests, this value is always false.
meta: Box<PublishedComponent>Implementations§
Source§impl GetComponent
impl GetComponent
pub fn new(status: f64, error: bool, meta: PublishedComponent) -> GetComponent
Trait Implementations§
Source§impl Clone for GetComponent
impl Clone for GetComponent
Source§fn clone(&self) -> GetComponent
fn clone(&self) -> GetComponent
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 GetComponent
impl Debug for GetComponent
Source§impl Default for GetComponent
impl Default for GetComponent
Source§fn default() -> GetComponent
fn default() -> GetComponent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetComponent
impl<'de> Deserialize<'de> for GetComponent
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 GetComponent
impl PartialEq for GetComponent
Source§impl Serialize for GetComponent
impl Serialize for GetComponent
impl StructuralPartialEq for GetComponent
Auto Trait Implementations§
impl Freeze for GetComponent
impl RefUnwindSafe for GetComponent
impl Send for GetComponent
impl Sync for GetComponent
impl Unpin for GetComponent
impl UnwindSafe for GetComponent
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