pub struct LanguagesClient { /* private fields */ }
Implementations§
Source§impl LanguagesClient
impl LanguagesClient
pub fn new(info: Arc<ClientInfo>) -> Self
pub async fn by_filter( &self, filter: Option<String>, ) -> Result<Vec<ByFilterLanguages>>
pub async fn by_address( &self, address: String, ) -> Result<Option<ByAddressLanguage>>
pub async fn write_settings( &self, language_address: String, settings: String, ) -> Result<ResponseData>
pub async fn apply_template_and_publish( &self, source: String, template_data: String, ) -> Result<ApplyTemplateAndPublishLanguageApplyTemplateAndPublish>
pub async fn meta(&self, address: String) -> Result<MetaLanguageMeta>
pub async fn publish( &self, language_path: String, name: String, description: Option<String>, possible_template_params: Option<Vec<String>>, source_code_link: Option<String>, ) -> Result<PublishLanguagePublish>
pub async fn source(&self, address: String) -> Result<String>
pub async fn remove(&self, address: String) -> Result<()>
Auto Trait Implementations§
impl Freeze for LanguagesClient
impl RefUnwindSafe for LanguagesClient
impl Send for LanguagesClient
impl Sync for LanguagesClient
impl Unpin for LanguagesClient
impl UnwindSafe for LanguagesClient
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