pub enum TenantsOwnership {
Records(Vec<TenantOwnership>),
Urls(Vec<String>),
}Expand description
This is a re-exportation from the myc core to allow users to import both from myc-http-tools instead of the myc-core.
Variants§
Implementations§
Source§impl TenantsOwnership
impl TenantsOwnership
pub fn to_ownership_vector(&self) -> Vec<TenantOwnership>
Trait Implementations§
Source§impl Clone for TenantsOwnership
impl Clone for TenantsOwnership
Source§fn clone(&self) -> TenantsOwnership
fn clone(&self) -> TenantsOwnership
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 TenantsOwnership
impl Debug for TenantsOwnership
Source§impl<'de> Deserialize<'de> for TenantsOwnership
impl<'de> Deserialize<'de> for TenantsOwnership
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TenantsOwnership, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TenantsOwnership, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TenantsOwnership
impl PartialEq for TenantsOwnership
Source§impl Serialize for TenantsOwnership
impl Serialize for TenantsOwnership
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl<'__r> ToResponse<'__r> for TenantsOwnership
impl<'__r> ToResponse<'__r> for TenantsOwnership
Source§impl ToSchema for TenantsOwnership
impl ToSchema for TenantsOwnership
impl StructuralPartialEq for TenantsOwnership
Auto Trait Implementations§
impl Freeze for TenantsOwnership
impl RefUnwindSafe for TenantsOwnership
impl Send for TenantsOwnership
impl Sync for TenantsOwnership
impl Unpin for TenantsOwnership
impl UnwindSafe for TenantsOwnership
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