pub enum AudienceTier {
Internal,
Public,
Team(String),
Restricted(String),
}Expand description
Audience reading the annotation set. Matches the CLI’s
--audience <internal|public|team:NAME> flag and the web’s payload-
shaping context.
Variants§
Internal
Workspace-internal viewer — sees every annotation regardless of
scope. The --audience internal value on Git projection export.
Public
Anonymous public viewer — sees only Public annotations. Default
for Git projection export and the public-PR review surface.
Team(String)
A specific team. Sees Public, Internal (assumed in-network), and
TeamScoped annotations whose team matches.
Restricted(String)
A restricted scope label (legal, security, etc.). Sees Public and
Restricted annotations whose label matches.
Trait Implementations§
Source§impl Clone for AudienceTier
impl Clone for AudienceTier
Source§fn clone(&self) -> AudienceTier
fn clone(&self) -> AudienceTier
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 moreSource§impl Debug for AudienceTier
impl Debug for AudienceTier
impl Eq for AudienceTier
Source§impl FromStr for AudienceTier
impl FromStr for AudienceTier
Source§type Err = AudienceParseError
type Err = AudienceParseError
The associated error which can be returned from parsing.
Source§fn from_str(s: &str) -> Result<AudienceTier, <AudienceTier as FromStr>::Err>
fn from_str(s: &str) -> Result<AudienceTier, <AudienceTier as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl PartialEq for AudienceTier
impl PartialEq for AudienceTier
impl StructuralPartialEq for AudienceTier
Auto Trait Implementations§
impl Freeze for AudienceTier
impl RefUnwindSafe for AudienceTier
impl Send for AudienceTier
impl Sync for AudienceTier
impl Unpin for AudienceTier
impl UnsafeUnpin for AudienceTier
impl UnwindSafe for AudienceTier
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