Struct vf_rs::vf::builders::AgentBuilder
source · pub struct AgentBuilder { /* private fields */ }
Expand description
Builder for Agent
.
Implementations§
source§impl AgentBuilder
impl AgentBuilder
sourcepub fn image<VALUE: Into<Option<Url>>>(self, value: VALUE) -> Self
pub fn image<VALUE: Into<Option<Url>>>(self, value: VALUE) -> Self
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
sourcepub fn name<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn name<VALUE: Into<String>>(self, value: VALUE) -> Self
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note<VALUE: Into<Option<String>>>(self, value: VALUE) -> Self
sourcepub fn primary_location<VALUE: Into<Option<SpatialThing>>>(
self,
value: VALUE
) -> Self
pub fn primary_location<VALUE: Into<Option<SpatialThing>>>( self, value: VALUE ) -> Self
The main place an agent is located, often an address where activities occur and mail can be sent. This is usually a mappable geographic location. It also could be a website address, as in the case of agents who have no physical location.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AgentBuilder
impl RefUnwindSafe for AgentBuilder
impl Send for AgentBuilder
impl Sync for AgentBuilder
impl Unpin for AgentBuilder
impl UnwindSafe for AgentBuilder
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