[−][src]Struct vf_rs::vf::Agent
A person or group or organization with economic agency.
ID: http://xmlns.com/foaf/0.1/Agent
Implementations
impl Agent
[src]
pub fn image(&self) -> &Option<Url>
[src]
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
pub fn name(&self) -> &String
[src]
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note(&self) -> &Option<String>
[src]
pub fn primary_location(&self) -> &Option<SpatialThing>
[src]
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.
impl Agent
[src]
pub fn set_image(&mut self, val: Option<Url>) -> &mut Self
[src]
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
pub fn set_name(&mut self, val: String) -> &mut Self
[src]
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn set_note(&mut self, val: Option<String>) -> &mut Self
[src]
pub fn set_primary_location(&mut self, val: Option<SpatialThing>) -> &mut Self
[src]
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.
impl Agent
[src]
pub fn image_mut(&mut self) -> &mut Option<Url>
[src]
The uri to an image relevant to the entity, such as a logo, avatar, photo, diagram, etc.
pub fn name_mut(&mut self) -> &mut String
[src]
An informal or formal textual identifier for an object. Does not imply uniqueness.
pub fn note_mut(&mut self) -> &mut Option<String>
[src]
pub fn primary_location_mut(&mut self) -> &mut Option<SpatialThing>
[src]
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.
impl Agent
[src]
pub fn builder() -> AgentBuilder
[src]
Create an empty builder object for Agent
pub fn into_builder(self) -> AgentBuilder
[src]
Turns Agent into AgentBuilder
Trait Implementations
impl Clone for Agent
[src]
impl Debug for Agent
[src]
impl<'de> Deserialize<'de> for Agent
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<Agent> for Agent
[src]
impl Serialize for Agent
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Agent
[src]
Auto Trait Implementations
impl RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl UnwindSafe for Agent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,