SHARE
TWEET

Untitled

a guest Jul 12th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pub type PrivacyPolicy<E> =
  2.     Vec<Box<dyn PrivacyRule<ViewerContext = Self::ViewerContext, Id = Self::Id, Err = E>>>;
  3.  
  4. pub trait PrivacyRule {
  5.     type ViewerContext;
  6.     type Id;
  7.     fn can_see(&self, viewer: &Self::ViewerContext, id: &Self::Id) -> ();
  8. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top