pub struct SiteResponse {
pub id: Uuid,
pub name: String,
pub internal_reference: String,
}Expand description
Site overview — from GET /v1/sites.
Fields§
§id: Uuid§name: String§internal_reference: StringUsed as the Legacy API site name (/api/s/{internalReference}/).
Trait Implementations§
Source§impl Clone for SiteResponse
impl Clone for SiteResponse
Source§fn clone(&self) -> SiteResponse
fn clone(&self) -> SiteResponse
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 SiteResponse
impl Debug for SiteResponse
Source§impl<'de> Deserialize<'de> for SiteResponse
impl<'de> Deserialize<'de> for SiteResponse
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 From<SiteResponse> for Site
impl From<SiteResponse> for Site
Source§fn from(s: SiteResponse) -> Self
fn from(s: SiteResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SiteResponse
impl PartialEq for SiteResponse
Source§impl Serialize for SiteResponse
impl Serialize for SiteResponse
impl StructuralPartialEq for SiteResponse
Auto Trait Implementations§
impl Freeze for SiteResponse
impl RefUnwindSafe for SiteResponse
impl Send for SiteResponse
impl Sync for SiteResponse
impl Unpin for SiteResponse
impl UnsafeUnpin for SiteResponse
impl UnwindSafe for SiteResponse
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