pub enum RepoViewField {
NameWithOwner,
Url,
}Expand description
Repository fields available for querying via gh repo view.
Variants§
Implementations§
Trait Implementations§
Source§impl AsRef<str> for RepoViewField
impl AsRef<str> for RepoViewField
Auto Trait Implementations§
impl Freeze for RepoViewField
impl RefUnwindSafe for RepoViewField
impl Send for RepoViewField
impl Sync for RepoViewField
impl Unpin for RepoViewField
impl UnsafeUnpin for RepoViewField
impl UnwindSafe for RepoViewField
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
§impl<T> Casing<T> for T
impl<T> Casing<T> for T
§fn to_case(&self, case: Case<'_>) -> String
fn to_case(&self, case: Case<'_>) -> String
Convert the string into the given case. It will reference
self and create a new
String with the same pattern and delimiter as case. It will split on boundaries
defined at [Boundary::defaults()]. Read more§fn set_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>
fn set_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>
Creates a
StateConverter struct initialized with the boundaries provided. Read more§fn remove_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>
fn remove_boundaries(&self, bs: &[Boundary]) -> StateConverter<'_, T>
Creates a
StateConverter struct initialized without the boundaries
provided. Read more§fn from_case(&self, case: Case<'_>) -> StateConverter<'_, T>
fn from_case(&self, case: Case<'_>) -> StateConverter<'_, T>
Start the case conversion by storing the boundaries associated with the given case. Read more
§fn remove_empty(&self) -> StateConverter<'_, T>
fn remove_empty(&self) -> StateConverter<'_, T>
Creates a
StateConverter with the RemoveEmpty pattern prepended.
This filters out empty words before conversion, useful when splitting
produces empty words from leading, trailing, and duplicate delimiters. Read more