pub struct SubjectRef {
pub subject_type: SubjectType,
pub id: String,
}Expand description
Subject reference (user or group).
Fields§
§subject_type: SubjectTypeSubject type (USER or GROUP).
id: StringSubject ID.
Implementations§
Trait Implementations§
Source§impl Clone for SubjectRef
impl Clone for SubjectRef
Source§impl Debug for SubjectRef
impl Debug for SubjectRef
Source§impl<'de> Deserialize<'de> for SubjectRef
impl<'de> Deserialize<'de> for SubjectRef
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 SubjectRef
impl RefUnwindSafe for SubjectRef
impl Send for SubjectRef
impl Sync for SubjectRef
impl Unpin for SubjectRef
impl UnsafeUnpin for SubjectRef
impl UnwindSafe for SubjectRef
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