pub struct GetByOrgRepos200ResponseReposInnerUpstream {
pub uri: String,
pub autosync: Option<GetByOrgRepos200ResponseReposInnerUpstreamAutosync>,
pub last_sync_attempt: Option<String>,
pub last_sync_success: Option<String>,
pub last_sync_error: Option<String>,
pub has_credential: bool,
pub credential_host: Option<String>,
}Fields§
§uri: StringURL of the upstream repository
autosync: Option<GetByOrgRepos200ResponseReposInnerUpstreamAutosync>§last_sync_attempt: Option<String>§last_sync_success: Option<String>§last_sync_error: Option<String>§has_credential: boolWhether this upstream has an authentication credential configured
credential_host: Option<String>Implementations§
Source§impl GetByOrgRepos200ResponseReposInnerUpstream
impl GetByOrgRepos200ResponseReposInnerUpstream
pub fn new( uri: String, autosync: Option<GetByOrgRepos200ResponseReposInnerUpstreamAutosync>, last_sync_attempt: Option<String>, last_sync_success: Option<String>, last_sync_error: Option<String>, has_credential: bool, credential_host: Option<String>, ) -> GetByOrgRepos200ResponseReposInnerUpstream
Trait Implementations§
Source§impl Clone for GetByOrgRepos200ResponseReposInnerUpstream
impl Clone for GetByOrgRepos200ResponseReposInnerUpstream
Source§fn clone(&self) -> GetByOrgRepos200ResponseReposInnerUpstream
fn clone(&self) -> GetByOrgRepos200ResponseReposInnerUpstream
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GetByOrgRepos200ResponseReposInnerUpstream
impl Default for GetByOrgRepos200ResponseReposInnerUpstream
Source§fn default() -> GetByOrgRepos200ResponseReposInnerUpstream
fn default() -> GetByOrgRepos200ResponseReposInnerUpstream
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetByOrgRepos200ResponseReposInnerUpstream
impl<'de> Deserialize<'de> for GetByOrgRepos200ResponseReposInnerUpstream
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetByOrgRepos200ResponseReposInnerUpstream, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetByOrgRepos200ResponseReposInnerUpstream, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GetByOrgRepos200ResponseReposInnerUpstream
impl PartialEq for GetByOrgRepos200ResponseReposInnerUpstream
Source§fn eq(&self, other: &GetByOrgRepos200ResponseReposInnerUpstream) -> bool
fn eq(&self, other: &GetByOrgRepos200ResponseReposInnerUpstream) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GetByOrgRepos200ResponseReposInnerUpstream
impl Serialize for GetByOrgRepos200ResponseReposInnerUpstream
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetByOrgRepos200ResponseReposInnerUpstream
Auto Trait Implementations§
impl Freeze for GetByOrgRepos200ResponseReposInnerUpstream
impl RefUnwindSafe for GetByOrgRepos200ResponseReposInnerUpstream
impl Send for GetByOrgRepos200ResponseReposInnerUpstream
impl Sync for GetByOrgRepos200ResponseReposInnerUpstream
impl Unpin for GetByOrgRepos200ResponseReposInnerUpstream
impl UnsafeUnpin for GetByOrgRepos200ResponseReposInnerUpstream
impl UnwindSafe for GetByOrgRepos200ResponseReposInnerUpstream
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