pub struct ProviderRepository {
pub connection: Option<RecordRef>,
pub provider_repository_id: String,
pub clone_url: String,
pub name: String,
pub private: bool,
pub installation_id: String,
pub linked_spools: Vec<SpoolRef>,
pub default_branch: String,
pub refs: Vec<ProviderRef>,
pub refs_status: Option<SectionStatus>,
}Fields§
§connection: Option<RecordRef>§provider_repository_id: String§clone_url: String§name: String§private: bool§installation_id: StringExact installation whose user grant listed this repository. ImportSource verifies this association again before selecting provider custody.
linked_spools: Vec<SpoolRef>Spools that already hold a remote link for this repository (same provider repository id or clone origin) AND that the caller can observe. Spools the caller cannot see are omitted — never revealed and never an error. Empty means no visible link. Repeated: one repository may be linked into several spools. Scope is the caller-visible spools of the account, not only the spools named in the ObserveIntegrations request.
default_branch: StringCurrent provider default branch, without refs/heads/. Empty means unknown, unavailable or no default; never guess main/master. Independent of refs.
refs: Vec<ProviderRef>Opt-in bounded page, ordered by full ref-name UTF-8 bytes. No secrets.
refs_status: Option<SectionStatus>Absent when unrequested. Section “provider_refs”; coverage plus PageInfo distinguishes an exhausted known-empty page from partial/unavailable data.
Trait Implementations§
Source§impl Clone for ProviderRepository
impl Clone for ProviderRepository
Source§fn clone(&self) -> ProviderRepository
fn clone(&self) -> ProviderRepository
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProviderRepository
impl Debug for ProviderRepository
Source§impl Default for ProviderRepository
impl Default for ProviderRepository
Source§fn default() -> ProviderRepository
fn default() -> ProviderRepository
Source§impl Message for ProviderRepository
impl Message for ProviderRepository
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for ProviderRepository
impl PartialEq for ProviderRepository
impl StructuralPartialEq for ProviderRepository
Auto Trait Implementations§
impl Freeze for ProviderRepository
impl RefUnwindSafe for ProviderRepository
impl Send for ProviderRepository
impl Sync for ProviderRepository
impl Unpin for ProviderRepository
impl UnsafeUnpin for ProviderRepository
impl UnwindSafe for ProviderRepository
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more