pub struct NamedEntity<Id, ParentId> {
pub id: Id,
pub parent_id: ParentRef<ParentId>,
pub name: String,
}Expand description
Универсальная именованная сущность из /datasetsEx.
Fields§
§id: Id§parent_id: ParentRef<ParentId>§name: StringTrait Implementations§
Source§impl<Id: Clone, ParentId: Clone> Clone for NamedEntity<Id, ParentId>
impl<Id: Clone, ParentId: Clone> Clone for NamedEntity<Id, ParentId>
Source§fn clone(&self) -> NamedEntity<Id, ParentId>
fn clone(&self) -> NamedEntity<Id, ParentId>
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<'de, Id, ParentId> Deserialize<'de> for NamedEntity<Id, ParentId>
impl<'de, Id, ParentId> Deserialize<'de> for NamedEntity<Id, ParentId>
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
impl<Id, ParentId> StructuralPartialEq for NamedEntity<Id, ParentId>
Auto Trait Implementations§
impl<Id, ParentId> Freeze for NamedEntity<Id, ParentId>
impl<Id, ParentId> RefUnwindSafe for NamedEntity<Id, ParentId>where
Id: RefUnwindSafe,
ParentId: RefUnwindSafe,
impl<Id, ParentId> Send for NamedEntity<Id, ParentId>
impl<Id, ParentId> Sync for NamedEntity<Id, ParentId>
impl<Id, ParentId> Unpin for NamedEntity<Id, ParentId>
impl<Id, ParentId> UnsafeUnpin for NamedEntity<Id, ParentId>where
Id: UnsafeUnpin,
ParentId: UnsafeUnpin,
impl<Id, ParentId> UnwindSafe for NamedEntity<Id, ParentId>where
Id: UnwindSafe,
ParentId: UnwindSafe,
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