Vector copy trait

I am writing a new crate and my code is here: rust-pangenome/src/main.rs at main · applicativesystem/rust-pangenome · GitHub and from the line 142 to 154 i am borrowing a member and pushing that into a another struct.

The same i have implemented at line 95 and 96 and it worked well as i borrow the clone vector and it worked well but in the line 142 to 154 it is giving error and i am not able to understand as why it is showing like that.

Can you all help me understand.

I solved it by myself by implementing a borrow and also adding a implicit lifetime.

 for i in final_seq.iter_mut() {
        for j in vectorstring.iter_mut() {
            println!("{:?}", &i.sequence[j.start..j.end])
        }
    }

Thank you all,
Gaurav