pub struct RepositoryPage {
pub repositories: Vec<String>,
pub truncated: bool,
}Expand description
The repositories a connection’s credentials can reach, for the scope picker.
Fields§
§repositories: Vec<String>Connection-relative repository paths, most-recently-active first.
truncated: boolTrue when the provider had more than we fetched, so the picker can say “5 of 500+” rather than presenting a cap as a total. Truncation must never be silent.
Trait Implementations§
Source§impl Clone for RepositoryPage
impl Clone for RepositoryPage
Source§impl Debug for RepositoryPage
impl Debug for RepositoryPage
Source§impl Default for RepositoryPage
impl Default for RepositoryPage
Source§impl<'de> Deserialize<'de> for RepositoryPage
impl<'de> Deserialize<'de> for RepositoryPage
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
impl Eq for RepositoryPage
Source§impl PartialEq for RepositoryPage
impl PartialEq for RepositoryPage
Source§impl Serialize for RepositoryPage
impl Serialize for RepositoryPage
impl StructuralPartialEq for RepositoryPage
Auto Trait Implementations§
impl Freeze for RepositoryPage
impl RefUnwindSafe for RepositoryPage
impl Send for RepositoryPage
impl Sync for RepositoryPage
impl Unpin for RepositoryPage
impl UnsafeUnpin for RepositoryPage
impl UnwindSafe for RepositoryPage
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