Struct gpt_rs::prelude::EntryPoint
source · pub struct EntryPoint {
pub function: Function,
pub version: Version,
}Fields§
§function: Function§version: VersionImplementations§
source§impl EntryPoint
impl EntryPoint
pub fn set_function(self, function: Function) -> Self
pub fn set_version(self, version: Version) -> Self
pub fn path(&self) -> String
Trait Implementations§
source§impl Clone for EntryPoint
impl Clone for EntryPoint
source§fn clone(&self) -> EntryPoint
fn clone(&self) -> EntryPoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EntryPoint
impl Debug for EntryPoint
source§impl Default for EntryPoint
impl Default for EntryPoint
source§impl PartialEq<EntryPoint> for EntryPoint
impl PartialEq<EntryPoint> for EntryPoint
source§fn eq(&self, other: &EntryPoint) -> bool
fn eq(&self, other: &EntryPoint) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<EntryPoint> for EntryPoint
impl PartialOrd<EntryPoint> for EntryPoint
source§fn partial_cmp(&self, other: &EntryPoint) -> Option<Ordering>
fn partial_cmp(&self, other: &EntryPoint) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for EntryPoint
impl StructuralPartialEq for EntryPoint
Auto Trait Implementations§
impl RefUnwindSafe for EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl UnwindSafe for EntryPoint
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