Struct golem_client::component::ComponentLive
source · pub struct ComponentLive {
pub base_url: Url,
}
Fields§
§base_url: Url
Trait Implementations§
source§impl Clone for ComponentLive
impl Clone for ComponentLive
source§fn clone(&self) -> ComponentLive
fn clone(&self) -> ComponentLive
Returns a copy 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 Component for ComponentLive
impl Component for ComponentLive
fn get_components_of_id<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, template_id: &'life1 str, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<Vec<Component>, ComponentError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
fn put_component<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, template_id: &'life1 str, template: impl 'async_trait + Into<Body> + Send, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<Component, ComponentError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
fn get_components<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, project_id: Option<&'life1 str>, template_name: Option<&'life2 str>, authorization: &'life3 str ) -> Pin<Box<dyn Future<Output = Result<Vec<Component>, ComponentError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,
fn post_component<'life0, 'life1, 'async_trait>( &'life0 self, field0: ComponentQuery, template: impl 'async_trait + Into<Body> + Send, authorization: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Component, ComponentError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn download_component<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, template_id: &'life1 str, version: &'life2 str, authorization: &'life3 str ) -> Pin<Box<dyn Future<Output = Result<Box<dyn Stream<Item = Result<Bytes>> + Send + Sync + Unpin>, ComponentError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,
fn get_latest_component<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, template_id: &'life1 str, authorization: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<i32, ComponentError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for ComponentLive
impl Send for ComponentLive
impl Sync for ComponentLive
impl Unpin for ComponentLive
impl UnwindSafe for ComponentLive
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