pub struct Iso20022ParserClient {
pub tool_url: &'static str,
/* private fields */
}Fields§
§tool_url: &'static strImplementations§
Source§impl Iso20022ParserClient
impl Iso20022ParserClient
pub fn new(api_key: Option<String>, base_url: Option<String>) -> Self
pub async fn get_health<T: for<'de> Deserialize<'de>>( &self, ) -> Result<ApiResponse<T>, Error>
pub async fn validate<T: for<'de> Deserialize<'de>>( &self, payload: Value, ) -> Result<ApiResponse<T>, Error>
pub async fn parse<T: for<'de> Deserialize<'de>>( &self, payload: Value, ) -> Result<ApiResponse<T>, Error>
Trait Implementations§
Source§impl Clone for Iso20022ParserClient
impl Clone for Iso20022ParserClient
Source§fn clone(&self) -> Iso20022ParserClient
fn clone(&self) -> Iso20022ParserClient
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for Iso20022ParserClient
impl !UnwindSafe for Iso20022ParserClient
impl Freeze for Iso20022ParserClient
impl Send for Iso20022ParserClient
impl Sync for Iso20022ParserClient
impl Unpin for Iso20022ParserClient
impl UnsafeUnpin for Iso20022ParserClient
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