Skip to content

Commit

Permalink
fix: update trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Pablo1107 committed Feb 5, 2025
1 parent 766c3be commit c82c07e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/dns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,17 @@ pub trait Requests {
fn update_request(
&self,
ip: IpAddr,
id: &'a str,
) -> Option<UpdateDnsRecord>;
fn create_request<'a>(
ip: IpAddr,
name: &'a str,
id: &'a str,
) -> CreateDnsRecord<'a>;
fn delete_request(&self) -> DeleteDnsRecord;
fn delete_request(
&self,
id: &'a str,
) -> DeleteDnsRecord;
}
impl Clone_ for DnsRecord {
fn clone(&self) -> Self {
Expand Down

0 comments on commit c82c07e

Please sign in to comment.