Enum gitlab::systemhooks::ProjectVisibility [−][src]
pub enum ProjectVisibility { Internal, Private, Public, }
Visibility levels for projects.
Variants
The project is only visible to users who are logged in.
The project is only visible to team members.
The project is visible to everyone.
Implementations
Trait Implementations
impl Clone for ProjectVisibility
[src]
impl Clone for ProjectVisibility
[src]fn clone(&self) -> ProjectVisibility
[src]
fn clone(&self) -> ProjectVisibility
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for ProjectVisibility
[src]
impl Debug for ProjectVisibility
[src]impl<'de> Deserialize<'de> for ProjectVisibility
[src]
impl<'de> Deserialize<'de> for ProjectVisibility
[src]fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl PartialEq<ProjectVisibility> for ProjectVisibility
[src]
impl PartialEq<ProjectVisibility> for ProjectVisibility
[src]impl Serialize for ProjectVisibility
[src]
impl Serialize for ProjectVisibility
[src]impl Copy for ProjectVisibility
[src]
impl Eq for ProjectVisibility
[src]
impl StructuralEq for ProjectVisibility
[src]
impl StructuralPartialEq for ProjectVisibility
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProjectVisibility
impl Send for ProjectVisibility
impl Sync for ProjectVisibility
impl Unpin for ProjectVisibility
impl UnwindSafe for ProjectVisibility
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,