Implement: Links::new()
This commit is contained in:
parent
e4fae4cfcf
commit
b6168f50a1
1 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,11 @@ pub struct Links {
|
|||
}
|
||||
|
||||
impl Links {
|
||||
|
||||
pub fn new(s: Vec<Link>) -> Links {
|
||||
Links { links: s }
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
impl Into<String> for Link {
|
||||
|
|
Loading…
Reference in a new issue