mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(payment_v2): implement payments sync (#6464)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -627,6 +627,16 @@ impl Url {
|
||||
pub fn get_string_repr(&self) -> &str {
|
||||
self.0.as_str()
|
||||
}
|
||||
|
||||
/// wrap the url::Url in Url type
|
||||
pub fn wrap(url: url::Url) -> Self {
|
||||
Self(url)
|
||||
}
|
||||
|
||||
/// Get the inner url
|
||||
pub fn into_inner(self) -> url::Url {
|
||||
self.0
|
||||
}
|
||||
}
|
||||
|
||||
impl<DB> ToSql<sql_types::Text, DB> for Url
|
||||
|
||||
Reference in New Issue
Block a user