pub enum IdOrIds {
Single(IdRef),
Multiple(Vec<IdRef>),
}Expand description
One or more JSON-LD @id references, modelling both singular and array ACL values.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for IdOrIds
impl<'de> Deserialize<'de> for IdOrIds
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
Auto Trait Implementations§
impl Freeze for IdOrIds
impl RefUnwindSafe for IdOrIds
impl Send for IdOrIds
impl Sync for IdOrIds
impl Unpin for IdOrIds
impl UnsafeUnpin for IdOrIds
impl UnwindSafe for IdOrIds
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