pub struct CodeConnectionsState {
pub connections: BTreeMap<String, ConnectionRecord>,
pub hosts: BTreeMap<String, HostRecord>,
pub repository_links: BTreeMap<String, RepositoryLinkRecord>,
pub sync_configurations: BTreeMap<String, SyncConfigurationRecord>,
}Expand description
The account-scoped CodeConnections state for one AWS account.
Fields§
§connections: BTreeMap<String, ConnectionRecord>Connections keyed by connection ARN.
hosts: BTreeMap<String, HostRecord>Hosts keyed by host ARN.
repository_links: BTreeMap<String, RepositoryLinkRecord>Repository links keyed by repository-link id.
sync_configurations: BTreeMap<String, SyncConfigurationRecord>Sync configurations keyed by <syncType>\u{1}<resourceName>.
Trait Implementations§
Source§impl AccountState for CodeConnectionsState
impl AccountState for CodeConnectionsState
Source§fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
fn new_for_account(_account_id: &str, _region: &str, _endpoint: &str) -> Self
Create a fresh, empty state for the given account.
Source§fn inherit_from(&mut self, _sibling: &Self)
fn inherit_from(&mut self, _sibling: &Self)
Called after a new account state is created via
MultiAccountState::get_or_create,
with a reference to an existing sibling state. Services can override
this to propagate shared resources (e.g. body caches) to the new state.Source§impl Clone for CodeConnectionsState
impl Clone for CodeConnectionsState
Source§fn clone(&self) -> CodeConnectionsState
fn clone(&self) -> CodeConnectionsState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CodeConnectionsState
impl Debug for CodeConnectionsState
Source§impl Default for CodeConnectionsState
impl Default for CodeConnectionsState
Source§fn default() -> CodeConnectionsState
fn default() -> CodeConnectionsState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeConnectionsState
impl<'de> Deserialize<'de> for CodeConnectionsState
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
Auto Trait Implementations§
impl Freeze for CodeConnectionsState
impl RefUnwindSafe for CodeConnectionsState
impl Send for CodeConnectionsState
impl Sync for CodeConnectionsState
impl Unpin for CodeConnectionsState
impl UnsafeUnpin for CodeConnectionsState
impl UnwindSafe for CodeConnectionsState
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