pub enum ForUser {
Current,
Name(BString),
}
Expand description
Whether a repository is resolving for the current user, or the given one.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ForUser
impl<'de> Deserialize<'de> for ForUser
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
Source§impl Ord for ForUser
impl Ord for ForUser
Source§impl PartialOrd for ForUser
impl PartialOrd for ForUser
impl Eq for ForUser
impl StructuralPartialEq for ForUser
Auto Trait Implementations§
impl Freeze for ForUser
impl RefUnwindSafe for ForUser
impl Send for ForUser
impl Sync for ForUser
impl Unpin for ForUser
impl UnwindSafe for ForUser
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