pub struct NewSequence<'a> { /* private fields */ }Implementations§
Source§impl<'a> NewSequence<'a>
impl<'a> NewSequence<'a>
pub fn new() -> NewSequence<'static>
pub fn shallow(self, setting: bool) -> Self
pub fn sequence_type(self, seq_type: &'a str) -> Self
pub fn sequence(self, sequence: &'a str) -> Self
pub fn name(self, name: &'a str) -> Self
pub fn file_path(self, path: &'a str) -> Self
pub fn length(self, length: i64) -> Self
pub fn hash(&self) -> HashId
pub fn build(self) -> Sequence
pub fn save(self, conn: &GraphConnection) -> Sequence
Trait Implementations§
Source§impl<'a> Debug for NewSequence<'a>
impl<'a> Debug for NewSequence<'a>
Source§impl<'a> Default for NewSequence<'a>
impl<'a> Default for NewSequence<'a>
Source§fn default() -> NewSequence<'a>
fn default() -> NewSequence<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> From<&'a Sequence> for NewSequence<'a>
impl<'a> From<&'a Sequence> for NewSequence<'a>
Source§fn from(value: &'a Sequence) -> NewSequence<'a>
fn from(value: &'a Sequence) -> NewSequence<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for NewSequence<'a>
impl<'a> RefUnwindSafe for NewSequence<'a>
impl<'a> Send for NewSequence<'a>
impl<'a> Sync for NewSequence<'a>
impl<'a> Unpin for NewSequence<'a>
impl<'a> UnsafeUnpin for NewSequence<'a>
impl<'a> UnwindSafe for NewSequence<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more