pub fn new<S: Into<String>>(id: usize, title: S) -> Self {
        let title = title.into();
        let completed = false;
        let edits = None;
        Todo {
            inner: Cached::new(TodoInner {
                id,
                title,
                completed,
                edits,
                _controller: PhantomData,
            }),
        }
    }
/// Construct a new `Todo` with the given identifier and title.
Construct a new `Todo` with the given identifier and title.
Construct a new ` Todo ` with the given identifier and title .
pub fn new<S: Into<String>>(id: usize, title: S) -> Self {
        let title = title.into();
        let completed = false;
        let edits = None;
        Todo {
            inner: Cached::new(TodoInner {
                id,
                title,
                completed,
                edits,
                _controller: PhantomData,
            }),
        }
    }
pub fn new < S : Into < String > > ( id : usize , title : S ) -> Self { let title = title . into ( ) ; let completed = false ; let edits = None ; Todo { inner : Cached :: new ( TodoInner { id , title , completed , edits , _controller : PhantomData , } ) , } }
Construct a new `Todo` with the given identifier and title.
Construct a new ` Todo ` with the given identifier and title .
id
usize
title
S
id
usize
title
S