pub struct IntegrationCatalog { /* private fields */ }Implementations§
Source§impl IntegrationCatalog
impl IntegrationCatalog
pub fn new() -> Self
pub fn revision(&self) -> u64
pub fn register_template(&mut self, template: ProviderTemplate)
pub fn template(&self, provider_id: &str) -> Option<&ProviderTemplate>
pub fn upsert_provider(&mut self, provider: ProviderConfig)
pub fn upsert_channel(&mut self, channel: ChannelConfig)
pub fn provider(&self, provider_id: &str) -> Option<&ProviderConfig>
pub fn channel(&self, channel_id: &str) -> Option<&ChannelConfig>
pub fn providers(&self) -> Vec<ProviderConfig>
pub fn channels_for_provider(&self, provider_id: &str) -> Vec<ChannelConfig>
pub fn apply_plan( &mut self, pack: &mut VerticalPackManifest, plan: &ProvisionPlan, ) -> Result<(), IntegrationError>
pub fn apply_hotfix( &mut self, hotfix: &IntegrationHotfix, ) -> Result<(), IntegrationError>
Trait Implementations§
Source§impl Clone for IntegrationCatalog
impl Clone for IntegrationCatalog
Source§fn clone(&self) -> IntegrationCatalog
fn clone(&self) -> IntegrationCatalog
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 Debug for IntegrationCatalog
impl Debug for IntegrationCatalog
Source§impl Default for IntegrationCatalog
impl Default for IntegrationCatalog
Source§fn default() -> IntegrationCatalog
fn default() -> IntegrationCatalog
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntegrationCatalog
impl<'de> Deserialize<'de> for IntegrationCatalog
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
Source§impl PartialEq for IntegrationCatalog
impl PartialEq for IntegrationCatalog
Source§impl Serialize for IntegrationCatalog
impl Serialize for IntegrationCatalog
impl Eq for IntegrationCatalog
impl StructuralPartialEq for IntegrationCatalog
Auto Trait Implementations§
impl Freeze for IntegrationCatalog
impl RefUnwindSafe for IntegrationCatalog
impl Send for IntegrationCatalog
impl Sync for IntegrationCatalog
impl Unpin for IntegrationCatalog
impl UnsafeUnpin for IntegrationCatalog
impl UnwindSafe for IntegrationCatalog
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