pub struct SubjectVia {
pub table: &'static str,
pub subject: &'static str,
pub key: &'static str,
}Expand description
One hop to the subject, through a table that holds the id requests are made with.
Read as a sentence: rows of table belong to the person whose
subject value the caller supplies, when that value appears in the join
table’s subject column; the join table’s key column is the one the
declaring table’s own subject column matches against. None means the
declaring table is matched directly, which is the ordinary case.
Fields§
§table: &'static strThe table one hop away that holds the account id.
subject: &'static strThe column on that table the request’s subject value is matched against — usually the account id.
key: &'static strThe column on that table whose values the declaring table’s subject
column matches — for deletion_jobs, identities.provider_subject.
Trait Implementations§
Source§impl Clone for SubjectVia
impl Clone for SubjectVia
Source§fn clone(&self) -> SubjectVia
fn clone(&self) -> SubjectVia
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SubjectVia
Source§impl Debug for SubjectVia
impl Debug for SubjectVia
impl Eq for SubjectVia
Source§impl PartialEq for SubjectVia
impl PartialEq for SubjectVia
impl StructuralPartialEq for SubjectVia
Auto Trait Implementations§
impl Freeze for SubjectVia
impl RefUnwindSafe for SubjectVia
impl Send for SubjectVia
impl Sync for SubjectVia
impl Unpin for SubjectVia
impl UnsafeUnpin for SubjectVia
impl UnwindSafe for SubjectVia
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.