pub struct ServerListItem {
pub server: Option<Box<Server>>,
pub organisation: Option<Box<Organisation>>,
pub remote_org: Option<Box<Organisation>>,
pub user: Option<Vec<User>>,
}
Fields§
§server: Option<Box<Server>>
§organisation: Option<Box<Organisation>>
§remote_org: Option<Box<Organisation>>
§user: Option<Vec<User>>
Implementations§
Source§impl ServerListItem
impl ServerListItem
pub fn new() -> ServerListItem
Trait Implementations§
Source§impl Clone for ServerListItem
impl Clone for ServerListItem
Source§fn clone(&self) -> ServerListItem
fn clone(&self) -> ServerListItem
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 ServerListItem
impl Debug for ServerListItem
Source§impl Default for ServerListItem
impl Default for ServerListItem
Source§fn default() -> ServerListItem
fn default() -> ServerListItem
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerListItem
impl<'de> Deserialize<'de> for ServerListItem
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 ServerListItem
impl PartialEq for ServerListItem
Source§impl Serialize for ServerListItem
impl Serialize for ServerListItem
impl StructuralPartialEq for ServerListItem
Auto Trait Implementations§
impl Freeze for ServerListItem
impl RefUnwindSafe for ServerListItem
impl Send for ServerListItem
impl Sync for ServerListItem
impl Unpin for ServerListItem
impl UnwindSafe for ServerListItem
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